View Single Post
Re: toggle button with keepin key depressed
Old 09-04-2007, 01:50 PM   #2 (permalink)
 
Wild.Bill.Kelso's Avatar
Wild.Bill.Kelso
Toolkit Creator
 
Join Date: May 2006
Location: On your Six!
Posts: 1,897
Wild.Bill.Kelso is on a distinguished road
Default Re: toggle button with keepin key depressed

Try creating a Hold type button. Check the 'No Reset' checkbox so it doesn't turn off until you touch it again.

Use a Macro with a Keydown in the _select part and a Keyup in the _deselect part like this:

macro_select = predef:B, KEYDOWN
macro_deselect = predef:B, KEYUP

I use this to hold the B key down for Brakes in IL2/Pacific Fighters.

You could also try making it a Touch type button if you only want it down 'while' you are actually touching it.

WBK
__________________
(a.k.a. Snacko)
Touchscreen: Innovatek TM-868 8"; Running Local Mode on XP Pro


Wild.Bill.Kelso is offline   Reply With Quote