Home UserCP Memberlist Register Calendar FAQ
Home

Go Back   Official TouchBuddy Forum > Support > Buglist
Register FAQDonate Members List Calendar Search Today's Posts Mark Forums Read

   

Reply
 
LinkBack Thread Tools Display Modes
Oppps! found a BIG bug
Old 09-15-2006, 01:36 PM   #1 (permalink)
Creator
 
Join Date: May 2006
Location: Cambridge, UK
Posts: 1,612
zorlac is on a distinguished road
Default Oppps! found a BIG bug

While adding code for the "tab macros", I discovered a fairly large bug in the button macro sending code. On "touch" and "hold" button types, you can define select and deselect macro lists, but until I found this bug, TB would only send the same number of deselect macros as there were select macros:

Example

Code:
macro_select = line 1
macro_select = line 2
macro_deselect = line 3
macro_deselect = line 4
This would work fine, as there are 2 sets of macros for select and deselect

Code:
macro_select = line 1
macro_deselect = line 2
macro_deselect = line 3
This will cause problems. As there is only 1 "select" macro, then TB was only sending 1 of the deselect macros.

This would cause macro lines to be not sent if there was a mismatch in the number of select and deselect entries. I may have to back port the fix to v1.0.2 and release a fix later today.
__________________


(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 09-15-2006, 03:38 PM   #2 (permalink)
 
Wild.Bill.Kelso's Avatar
Toolkit Creator
 
Join Date: May 2006
Location: On your Six!
Posts: 1,873
Wild.Bill.Kelso is on a distinguished road
Default

That's weird because after our discussion about the hold button yesterday, I made one of my buttons a hold button with just the macro_select line and no macro_deselect. But it sounds like that should still work? I haven't tested it yet in Lockon though....
__________________
(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
Old 09-15-2006, 03:47 PM   #3 (permalink)
Creator
 
Join Date: May 2006
Location: Cambridge, UK
Posts: 1,612
zorlac is on a distinguished road
Default

having select but no deslect macros wont trigger this bug... only if you have more deselect macros than select macros on a button.
__________________


(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

vB 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 02:43 AM.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

  www.touch-buddy.com        Archive  


Footer
vBSkinworks Top