Home UserCP Memberlist Register Calendar FAQ
Home


Go Back   Official TouchBuddy Forum > Support > Technical Q&A

Reply
 
LinkBack Thread Tools Display Modes
Some basic...
Old 08-04-2006, 10:08 PM   #1 (permalink)
Addict
 
Join Date: Aug 2006
Location: Sweden
Posts: 5
MatsW is on a distinguished road
Default Some basic...

I have looked around and searched but not found what I was looking for so here is a question:

- What is the macro for ALT Q and how should I do to get it sending it until I release the button on TB screen? (I keep the button down so to say).

Best regards
MatsW
MatsW is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-04-2006, 10:35 PM   #2 (permalink)
Creator
 
Join Date: May 2006
Location: Cambridge, UK
Posts: 1,623
zorlac is on a distinguished road
Default

Hi MatsW, and welcome

Quote:
- What is the macro for ALT Q and how should I do to get it sending it until I release the button on TB screen? (I keep the button down so to say).
Ther are two ways you could do it, depending on how you want the buttons to behave:

"hold" buttons will send one set of macros when you press them once (going into the held status), and another set of macros when you press them again (back to normal status).

or

"touch" buttons will send one set of macros when you press and hold the button down, and send another set of macros when you release the button.

So, hold buttons lock in the selected state, and touch buttons are momentary, and only stay in the selected state for as long as you hold the button down.

Whichever one you need, the macro options are defined the same way. If you are wanting keydown and keyup events, you will need "predef" macros.

Determine which button type you want, and add these macro defintions:

Code:
macro_select = predef:ALT, KEYDOWN
macro_select = predef:Q, KEYDOWN
macro_deselect = predef:Q, KEYUP
macro_deselect = predef: ALT, KEYUP

rawkey (obsolete now) and predef macros are briefly documented in the predef-and-rawkey-reference.html file in the docs directory. It contains a brief explaination of how to use predef and rawkey macros, along with a table that shows the valid rawkey/predef macro names. The select/deselect macros are covered in the how-to.txt file in the docs directory.

The docs are well overdue for an overhaul, and I am planning on re-doing them all while I am away at the start of September (linkable HTML how-to files)
__________________


(Setup: XP Pro, classic mode, LinITX 8" touchscreen (Client/Server), 19" touchscreen (Local), latest development version of TouchBuddy)
zorlac is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-04-2006, 11:48 PM   #3 (permalink)
Addict
 
Join Date: Aug 2006
Location: Sweden
Posts: 5
MatsW is on a distinguished road
Default

Sorry to say but it seems not to be working. Must have missed some settings somewhere.

I use the "touch" and it seems not to be sending any commands to the window (if you look at the small window line in the downer left). The other commands where I have used the "buttons", there is no problem at all and they are fully functional.
MatsW is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-05-2006, 12:01 AM   #4 (permalink)
Creator
 
Join Date: May 2006
Location: Cambridge, UK
Posts: 1,623
zorlac is on a distinguished road
Default

paste the button config in here for the touch button, and i`ll take a look (button type "touch" was released in v1.0.1 wasnt it? Just going to check that, brain like a sieve... )
__________________


(Setup: XP Pro, classic mode, LinITX 8" touchscreen (Client/Server), 19" touchscreen (Local), latest development version of TouchBuddy)
zorlac is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-05-2006, 12:01 AM   #5 (permalink)
Creator
 
Join Date: May 2006
Location: Cambridge, UK
Posts: 1,623
zorlac is on a distinguished road
Default

oh and check your PMs on these forums!!
__________________


(Setup: XP Pro, classic mode, LinITX 8" touchscreen (Client/Server), 19" touchscreen (Local), latest development version of TouchBuddy)
zorlac is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-05-2006, 12:06 AM   #6 (permalink)
Addict
 
Join Date: Aug 2006
Location: Sweden
Posts: 5
MatsW is on a distinguished road
Default

You mean this?

[new-button]
name = _Raise
type = touch
tabname = TC (F7)
xpos = 591
ypos = 367
image_file = images\_Raise.GIF
macro_select = predef:ALT, KEYDOWN
macro_select = predef:Q, KEYDOWN
macro_deselect = predef:Q, KEYUP
macro_deselect = predef: ALT, KEYUP
[end-button]
MatsW is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-05-2006, 12:15 AM   #7 (permalink)
Creator
 
Join Date: May 2006
Location: Cambridge, UK
Posts: 1,623
zorlac is on a distinguished road
Default

just trying this here... brb...

what version of TouchBuddy are you running? (Should say when you first start it up, in the titlebar or status bar of the initial window, before you load a profile).
__________________


(Setup: XP Pro, classic mode, LinITX 8" touchscreen (Client/Server), 19" touchscreen (Local), latest development version of TouchBuddy)
zorlac is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-05-2006, 12:18 AM   #8 (permalink)
Addict
 
Join Date: Aug 2006
Location: Sweden
Posts: 5
MatsW is on a distinguished road
Default

Sorry to say but again it was the human factor that caused the errors.
I just hade TB 1.0.0 instead of 1.0.1.
The TB Toolkit, however is 1.0.1 and I looked at that one when you asked.

After upgrading the TB, everything runs smoothly.

Thanks for all help
Mats

Last edited by MatsW; 08-05-2006 at 02:44 PM.
MatsW is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-05-2006, 02:47 PM   #9 (permalink)
Creator
 
Join Date: May 2006
Location: Cambridge, UK
Posts: 1,623
zorlac is on a distinguished road
Default

cool Glad to hear that ("touch" buttons appeared in v1.0.1, hence why they were being ignored in your TB v1.0.0 install)
__________________


(Setup: XP Pro, classic mode, LinITX 8" touchscreen (Client/Server), 19" touchscreen (Local), latest development version of TouchBuddy)
zorlac 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 08:31 AM.
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