Key Identifiers
Posted: 06 Apr 2016, 21:51
In LMC.LUA Line 50
commands2[192]='sim/view/still_spot' -- 192 is vkey code of '`'
and then line 52
commands2[string.byte('1')]='SRS/X-Camera/Select_View_ID_1'
Is it safe to assume that you can either use the key code or the string.byte(" ` ") interchangeably?
The second question is what is in line 50 what is the sim/view doing?
commands2[192]='sim/view/still_spot' -- 192 is vkey code of '`'
and then line 52
commands2[string.byte('1')]='SRS/X-Camera/Select_View_ID_1'
Is it safe to assume that you can either use the key code or the string.byte(" ` ") interchangeably?
The second question is what is in line 50 what is the sim/view doing?