My 6-button mouse
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: My 6-button mouse
Richard -
If that's the model, from the technical specs it looks like the drivers are for Windows only.
If that's the model, from the technical specs it looks like the drivers are for Windows only.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
-
- Livecode Opensource Backer
- Posts: 10099
- Joined: Fri Feb 19, 2010 10:17 am
Re: My 6-button mouse
No.FourthWorld wrote: ↑Sat Feb 22, 2020 4:00 amIs it this model?
https://www.adesso.com/UploadFiles/20170125031528.pdf
It is a genuine, no name, made in the PRC thing from eBay.UK.
However, it's right-handed companion is a Trust item 22885 made in exactly the same place.
-
Re: My 6-button mouse
Nonetheless, the fact that your browser responds to the key 4 and 5 presses means that the device is indeed generating the proper rawKeyDown/Up codes for scrollwheel actions, so it's probably worth checking that again.
PowerDebug http://powerdebug.ahsoftware.net
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
PowerTools http://www.ahsoftware.net/PowerTools/PowerTools.irev
-
- Livecode Opensource Backer
- Posts: 10099
- Joined: Fri Feb 19, 2010 10:17 am
Re: My 6-button mouse
Buttons 4 and 5 are NOT part of the scrollwheel; they are buttons-qua-buttons.
-
- VIP Livecode Opensource Backer
- Posts: 10049
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: My 6-button mouse
On similar devices sold under various brands but likely from the same factory, those buttons are for Forward and Back, which map to keyboard actions.richmond62 wrote: ↑Sat Feb 22, 2020 6:47 pmButtons 4 and 5 are NOT part of the scrollwheel; they are buttons-qua-buttons.
Really, perhaps everyone in this thread may be onto something worth trying: double check your rawKeyDown handler.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Livecode Opensource Backer
- Posts: 10099
- Joined: Fri Feb 19, 2010 10:17 am
Re: My 6-button mouse
Currently working on a laptop running Xubuntu 20.04 beta with a DELUX vertical mouse . . .
This:
Code: Select all
on rawKeyDown RD
put RD into fld "ff"
end rawKeyDown
After supper I'll have a go with the other 2 mice on the Macintosh.
-
- Livecode Opensource Backer
- Posts: 10099
- Joined: Fri Feb 19, 2010 10:17 am
Re: My 6-button mouse
OK: so here I am, fed, and back on the Mac Mini and from rawKeyDown I get:
Mouse button 1: nothing
Mouse button 2 (popping the scroll wheel): nothing
Mouse button 3: nothing
Mouse button 4: nothing
Mouse button 5: nothing
Mouse button 6: nothing
Scroll wheel away from me: 65308
Scroll wheel towards me: 65309
Same for both the left-handed and the right-handed mouse.
NBG
Mouse button 1: nothing
Mouse button 2 (popping the scroll wheel): nothing
Mouse button 3: nothing
Mouse button 4: nothing
Mouse button 5: nothing
Mouse button 6: nothing
Scroll wheel away from me: 65308
Scroll wheel towards me: 65309
Same for both the left-handed and the right-handed mouse.
NBG
-
- VIP Livecode Opensource Backer
- Posts: 10049
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: My 6-button mouse
USB input devices tend to work one of two ways: they either map their inputs to common OS-supported features like mouse and keyboard actions, or they require a driver to take those inputs and use OS APIs to produce an action.
Are you sure the device requires no driver?
Does your rawKeyDown handler work with the keyboard?
Are you sure the device requires no driver?
Does your rawKeyDown handler work with the keyboard?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 10049
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: My 6-button mouse
I wonder if polling the keysdown may work. Some Windows gestures get mapped to multi-key actions.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Livecode Opensource Backer
- Posts: 10099
- Joined: Fri Feb 19, 2010 10:17 am
Re: My 6-button mouse
Unfortunately only 5; but, oddly enough, I am able to move them independently of
each other, so it is possible for one of them to press more than one button.
The 2 ergonomic mice I have connected to my Mac Mini both have 3 buttons on their inner-sides
that can be clicked with the thumb.
- -
Buttons 4 and 5 allow one to do a sort of drag-n-drop scroll thing with the mouse in a web-browser.
-
- Livecode Opensource Backer
- Posts: 10099
- Joined: Fri Feb 19, 2010 10:17 am
Re: My 6-button mouse
Yup.Does your rawKeyDown handler work with the keyboard?
- -
No driver: the mice work the same on Macintosh and Xubuntu.
- Attachments
-
- QeeKodez.livecode.zip
- Here's the stack.
- (848 Bytes) Downloaded 200 times
Last edited by richmond62 on Sat Feb 22, 2020 10:22 pm, edited 1 time in total.
-
- VIP Livecode Opensource Backer
- Posts: 10049
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: My 6-button mouse
I've seen drag-n-drop, and I've seen scrolling, but I can't imagine what a "drag-n-drop scroll thing" is. How does the manufacturer describe it?richmond62 wrote: ↑Sat Feb 22, 2020 10:16 pmButtons 4 and 5 allow one to do a sort of drag-n-drop scroll thing with the mouse in a web-browser.
I wonder if the keysdown function might provide a clue....
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Livecode Opensource Backer
- Posts: 10099
- Joined: Fri Feb 19, 2010 10:17 am
Re: My 6-button mouse
That was me just getting stroppy.a sort of drag-n-drop scroll thing

-
- Livecode Opensource Backer
- Posts: 10099
- Joined: Fri Feb 19, 2010 10:17 am
Re: My 6-button mouse
Grasping at straws I'm afraid.I wonder if the keysdown function might provide a clue....
-
- Attachments
-
- Keeze Down.livecode.zip
- Here's the stack.
- (865 Bytes) Downloaded 188 times
-
- VIP Livecode Opensource Backer
- Posts: 10049
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: My 6-button mouse
If that was in response to a click from the device it looks like you have success, no?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn