Server numlock is on.
I've attached a debug file, hold buttons send KEYDOWN and KEYUP events, touch buttons only seem to be sending KEYDOWN.
*EDIT* What I meant to say is macro_select/deselect not KEYDOWN/UP although in this case they amount to the same thing.
My button code:
Code:
[new-button]
type = hold
name = Btn_Winch_Up
tabname = SAR4
xpos = 11
ypos = 27
layer = 0
hold_expire_send = 1
hold_expire = 20
image_file = SAR4\Normal\images\Btn_Winch_Up.gif
image_file_1 = SAR4\Pressed\images\Btn_Winch_Up.gif
macro_select = predef: W, KEYDOWN
macro_deselect = predef: W, KEYUP
[end-button]
[new-button]
type = touch
name = Btn_Spotlight_Left
tabname = SAR4
xpos = 557
ypos = 213
layer = 0
image_file = SAR4\Normal\images\Btn_Spotlight_Left.gif
image_file_1 = SAR4\Pressed\images\Btn_Spotlight_Left.gif
macro_select = predef: SHIFT, KEYDOWN
# macro_select = predef: NUMPAD4, KEYDOWN
# macro_deselect = predef: NUMPAD4, KEYUP
macro_select = predef: A, KEYDOWN
macro_deselect = predef: A, KEYUP
macro_deselect = predef: SHIFT, KEYUP
[end-button]
I changed the numpad to a keyboard key to rule out the numpad.
Kev.