Thread: Shift + Numpad
View Single Post
Re: Shift + Numpad
Old 04-24-2007, 05:00 PM   #6 (permalink)
Cheesy
Addict
 
Join Date: Apr 2007
Posts: 9
Cheesy is an unknown quantity at this point
Default Re: Shift + Numpad

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.
Attached Files
File Type: txt TouchBtnDebug.txt (12.0 KB, 1 views)
__________________
TB V1.3.0(R16) Client/Server, TBTk V1.3(R4), LinITX 8.4" 800x600

Last edited by Cheesy; 04-28-2007 at 05:31 PM.
Cheesy is offline   Reply With Quote