Home UserCP Memberlist Register Calendar FAQ
Home


Go Back   Official TouchBuddy Forum > Support > Buglist

Reply
 
LinkBack (1) Thread Tools Display Modes
"Touch " button deselect macro????
Old 08-19-2009, 03:49 PM   1 links from elsewhere to this Post. Click to view. #1 (permalink)
Junky
 
Join Date: Mar 2009
Location: Gatehouse of Fleet Scotland
Posts: 35
aceweepop is an unknown quantity at this point
Default "Touch " button deselect macro????

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
aceweepop is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: "Touch " button deselect macro????
Old 08-19-2009, 08:08 PM   #2 (permalink)
 
Wild.Bill.Kelso's Avatar
DD_SNACKO
 
Join Date: May 2006
Location: Cincinnati, Ohio
Posts: 2,253
Wild.Bill.Kelso is on a distinguished road
Default Re: "Touch " button deselect macro????

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 - DangerDogz)
Touchscreen: Innovatek TM-868 8"; Running Local Mode on Windows 7 64-bit


Wild.Bill.Kelso is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: "Touch " button deselect macro????
Old 08-20-2009, 02:22 PM   #3 (permalink)
Junky
 
Join Date: Mar 2009
Location: Gatehouse of Fleet Scotland
Posts: 35
aceweepop is an unknown quantity at this point
Default Re: "Touch " button deselect macro????

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
aceweepop is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 01:41 PM




All times are GMT. The time now is 01:53 PM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

  www.touch-buddy.com        Archive  


Footer
vBSkinworks Top