Home UserCP Memberlist Register Calendar FAQ
Home

Go Back   Official TouchBuddy Forum > Support > How do I... ?
Register FAQDonate Members List Calendar Search Today's Posts Mark Forums Read

   

Reply
 
LinkBack Thread Tools Display Modes
toggle button with keepin key depressed
Old 09-04-2007, 12:45 PM   #1 (permalink)
Addict
 
Join Date: Feb 2007
Posts: 8
jojob66 is on a distinguished road
Default toggle button with keepin key depressed

Pretty easy thing probably but I'm struggling.

In teamspeak in order to whisper to a channel you have to keep a key depressed whilst talking. I want to create a button that when depressed changes image and keeps the TS key depressed, then when pressed again changes image back and send the keyup signal to TS. How do I do this? I've tried all sorts of combinations. Its driving me nuts
__________________
jojob66 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: toggle button with keepin key depressed
Old 09-04-2007, 12:50 PM   #2 (permalink)
 
Wild.Bill.Kelso's Avatar
Toolkit Creator
 
Join Date: May 2006
Location: On your Six!
Posts: 1,885
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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: toggle button with keepin key depressed
Old 09-04-2007, 01:02 PM   #3 (permalink)
Addict
 
Join Date: Feb 2007
Posts: 8
jojob66 is on a distinguished road
Default Re: toggle button with keepin key depressed

Cheers will give that a go.
__________________
jojob66 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: toggle button with keepin key depressed
Old 09-04-2007, 01:21 PM   #4 (permalink)
Addict
 
Join Date: Feb 2007
Posts: 8
jojob66 is on a distinguished road
Default Re: toggle button with keepin key depressed

Works perfectly, Thanks a lot I can sleep now
__________________
jojob66 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: toggle button with keepin key depressed
Old 09-04-2007, 06:51 PM   #5 (permalink)
 
Wild.Bill.Kelso's Avatar
Toolkit Creator
 
Join Date: May 2006
Location: On your Six!
Posts: 1,885
Wild.Bill.Kelso is on a distinguished road
Default Re: toggle button with keepin key depressed

Just remember that if you exit your game while that key is held down, that Windows will also act like your holding that key down. Windows may act crazy if for instance the key your holding down is the Tab, Delete, Arrows, ect ... The B key may not cause crazy problems but other keys can!

I think even if you closed TB, Windows may still keep that key in the down state until you press it again. I don't think TB is actually 'holding' the key down, it just sends the state of the button to Windows, and Windows keeps it in that 'State' until it's told different from another keypress, or TB macro_deselect.
__________________
(a.k.a. Snacko)
Touchscreen: Innovatek TM-868 8"; Running Local Mode on XP Pro



Last edited by Wild.Bill.Kelso; 09-04-2007 at 06:54 PM.
Wild.Bill.Kelso 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



All times are GMT. The time now is 07:34 AM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

  www.touch-buddy.com        Archive  


Footer
vBSkinworks Top