OSC:HOG SendKey
From Moving Light Assistant
HOG_SendKey( key )
- key is a string.
This function will send a key press to the console. The function will actually send a key down and key up command. If you want to send separate key down and key up commands, you should use the HOG_SendKeyDown and HOG_SendKeyUp functions.
The name of the key generally matches the physical button on the console.
Example.
OSC:HOG_SendKey("zero")
This would push the 0 key on the console.
OSC:HOG_SendKey("at")
This would be the same as pushing the @ button on the console.
Key Name Examples...
0 = zero
1 = one
2 = two
3 = three
4 = four
5 = five
6 = six
7 = seven
8 = eight
9 = nine
@ = at
- = minus
+ = plus
/ = slash
Arrow Up Key = up
Arrow Down Key = down
Arrow Left Key = left
Arrow Right Key = right
Main Play Key = maingo
Main Pause Key = mainhalt
Main Back Key = mainback