![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| "Touch " button deselect macro???? |
|
|
#1 (permalink)
|
|
Addict
Join Date: Mar 2009
Location: Gatehouse of Fleet Scotland
Posts: 25
![]() |
Hi, two questions about using a button in "touch" mode.
1:- Is it neccessary to have a deselect macro if using "repeat" function. I tried with one but found I could not get a single step for a short press, the minimum was two sends of macro. I removed deselect macro and it worked OK! 2:- Using "Touch" with no "repeat" I find I do need to provide a deselect macro to get button to release when finger removed, however I find that it only works in LOCAL mode but I am using client server mode and I only get the select macro sent and deselect is ignored. My local mode testing does of course not involve my touchscreen so I guess thats where the trouble is. This is what I am trying to send.... macro_select = predef:CONTROL, KEYDOWN macro_select = predef:j, KEYDOWN macro_deselect = predef:j, KEYUP macro_deselect = predef:CONTROL, KEYUP My screen is a Microtouch 3M and I have tried all touch settings ie touchdown,liftoff and drawing but none send the deselect on removing finger. Any ideas or suggestions will be appreciated , Thankyou
__________________
another Microtouch 15 user |
|
|
|
| Re: "Touch " button deselect macro???? |
|
|
#2 (permalink) |
|
Toolkit Creator
Join Date: May 2006
Location: Cincinnati, Ohio
Posts: 2,174
![]() |
1 - I don't think it is ever required to have a deselect macro. If the Toolkit complains that you don't have one (I can't remember if it does) then put in a dummy command like this:
macro_deselect = {} Also, there is a bug where you need this dummy deselect statement there for some macros in client-server mode. 2 - Local Mode testing does not require a touchscreen. The program works the same with or without it. Test with Notepad or run your game in a windowed mode if possible. So you want to hold the Ctrl-J key down continuously? Until you release your finger? In my IL2 profile I do this with the Touch button with the Repeat checked, to lower my manual gear. I put the G key in there twice to make it go faster. macro_select = predef:ALT, KEYDOWN macro_select = predef:G macro_select = predef:G macro_select = predef:ALT, KEYUP I also use a Hold button with No Reset checked to hold my brakes key down. I touch it once to hold the brakes, and touch it again to release the brakes. macro_select = predef:B, KEYDOWN macro_deselect = predef:B, KEYUP These are the only two ways I can remember that you can hold a key down or get it to repeat. WBK
__________________
(a.k.a. Snacko) Touchscreen: Innovatek TM-868 8"; Running Local Mode on XP Pro ![]() |
|
|
|
| Re: "Touch " button deselect macro???? |
|
|
#3 (permalink) |
|
Addict
Join Date: Mar 2009
Location: Gatehouse of Fleet Scotland
Posts: 25
![]() |
Hi WBK and thanks for response.
Yes I appreciate differances between local and client modes and I actually use "stick test" to check my outputs, it shows keydown and keyup presses with timeing for all keys. With further experimenting I have discovered that all I had to do extra was switch on "repeat" and leave macros exactly as in my first post. In client mode this resulted in an output of repeated keydown pressses while finger on screen and immediate send of deselect ie keyups on removing finger. Funnily ticking repeat stops it working in local mode!!! resulting in repeated downs but no ups. I required this programming for my stores jettison and eject controls. In game these must be held for 2 to 3 second to take effect to prevent accidental operation which could be embarrassing. Other profiles I have seen such as the one included in FF5 used a delay function to keep the key pressed but this would result in kissing goodbye to stores or plane if you accidentally brushed against icon.
__________________
another Microtouch 15 user |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.touch-buddy.com/forums/buglist/1150-touch-button-deselect-macro.html
|
||||
| Posted By | For | Type | Date | |
| Official TouchBuddy Forum - Powered by vBulletin | This thread | Refback | 08-24-2009 12:41 PM | |