My 6-button mouse

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

Re: My 6-button mouse

Post by richmond62 » Sat Feb 22, 2020 10:45 pm

No: I'm sorry, that picture was from my hitting 2 keyboard keys to check my code.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

Re: My 6-button mouse

Post by richmond62 » Sat Feb 22, 2020 10:57 pm

Interestingly:
-
N50.jpg
N50.jpg (5.53 KiB) Viewed 6503 times
-
My Belkin Nostromo n50 isn't acknowledged by LiveCode.
-
N52.jpg
N52.jpg (5.8 KiB) Viewed 6503 times
-
My Belkin Nostromo n52 IS acknowledged by LiveCode.
-
T9.jpg
T9.jpg (8.62 KiB) Viewed 6503 times
-
and my T9 Pro IS acknowledged by LiveCode.

None of these have drivers for MacOS 10.15

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

Re: My 6-button mouse

Post by richmond62 » Sat Feb 22, 2020 10:58 pm

This is a potential problem for developers working with LiveCode; especially for anyone working on a game,
as they have no idea what sort of mouse and/or other USB peripheral an end-user might have plugged into their machine
with or without drivers.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10049
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: My 6-button mouse

Post by FourthWorld » Sun Feb 23, 2020 12:06 am

What does the Belkin Nostromo n50 do in other applications?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

Re: My 6-button mouse

Post by richmond62 » Sun Feb 23, 2020 9:21 am

FourthWorld wrote:
Sun Feb 23, 2020 12:06 am
What does the Belkin Nostromo n50 do in other applications?
Nothing.
-
Screenshot 2020-02-23 at 10.21.04.png
Screenshot 2020-02-23 at 10.21.04.png (18.76 KiB) Viewed 6470 times

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10049
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: My 6-button mouse

Post by FourthWorld » Sun Feb 23, 2020 9:39 am

richmond62 wrote:
Sun Feb 23, 2020 9:21 am
FourthWorld wrote:
Sun Feb 23, 2020 12:06 am
What does the Belkin Nostromo n50 do in other applications?
Nothing.
How do they advertise attractively with that proposition?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

Re: My 6-button mouse

Post by richmond62 » Sun Feb 23, 2020 9:44 am

The Belkin Nostromo n50 is about 15 years old.

It came with drivers both for PPC and Intel Mac.
The drivers for Intel Mac do work with MacOS 10.7 . . .

What does interest me is that when I connect it to my Mac Mini
the 3 indicator lamps light up, indicating that there is some current running
back and forth.

Connected to one of my G5 PPC Macs (MacOS 10.4.11) one cannot
use the n50 as a partial keyboard; it ONLY works via the macros set up
through the System Preferences pane that comes with the thing.
-
BN.png
-
BUT the Belkin Nostromo n52 behaves exactly the same when
connected to the PPC Mac.

Here's a little something to "extend the joke":
-
Narray.png
Narray.png (5.02 KiB) Viewed 6446 times

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10049
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: My 6-button mouse

Post by FourthWorld » Sun Feb 23, 2020 7:25 pm

richmond62 wrote:
Sun Feb 23, 2020 9:44 am
The Belkin Nostromo n50 is about 15 years old.

It came with drivers both for PPC and Intel Mac.
The drivers for Intel Mac do work with MacOS 10.7 . . .
Given the device age, that the manufacturer has chosen not to continue supporting it, and that the other input devices you have are described as working well, it would seem the "potential problem for developers working with LiveCode" is sufficiently limited that few will find it cause for insomnia. Indeed, this intersection of requirements may be an audience of one. ;)
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

Re: My 6-button mouse

Post by richmond62 » Sun Feb 23, 2020 7:59 pm

this intersection of requirements may be an audience of one.
This intersection of requirements has an audience of none. :wink:

The n50 Belkin Nostromo gets used most of the time attached to my Xubuntu laptop where I can get it to work
rather well.

I only used the example of the n50 Belkin Nostromo as illustrative of how one really
has no idea when one plugs a USB peripheral into a computer whether it will be
of any value.

My OP, lest you forget, was about mice with more than 3 buttons. 8)

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10049
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: My 6-button mouse

Post by FourthWorld » Sun Feb 23, 2020 8:38 pm

richmond62 wrote:
Sun Feb 23, 2020 7:59 pm
My OP, lest you forget, was about mice with more than 3 buttons. 8)
Understood, but as noted earlier most input devices work either of two ways: functionality beyond three buttons is mapped to key commands, or a driver is provided to map anything to anything per whatever software the vendor provides.

So in most cases, rawKeyDown or sometimes keyDown() will suffice. With more exotic hardware requiring custom drivers, the ability of any third-party software to work with it will be determined by the capabilities of the driver provided.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: My 6-button mouse

Post by mwieder » Mon Feb 24, 2020 4:08 am

Given the age of the hardware and especially software, I'd guess that the mac drivers were written to support Carbon, which was created by Apple to ease the migration from MacOS 8 to OS 9. Apple has now completely dropped Carbon in favor of Cocoa. And that is as in "completely dropped", as applications written in Carbon will no longer run on modern OSX systems. The LiveCode engine itself had to be rewritten against Cocoa in order to support the Macintosh. So I wouldn't think that old hardware that requires special drivers would have much of a chance of being compatible with current operating systems.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

Re: My 6-button mouse

Post by richmond62 » Mon Feb 24, 2020 7:42 am

What is the difference between the signal that is sent when I press button X on a USB device
that does not require a driver and on a device that does?

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10049
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: My 6-button mouse

Post by FourthWorld » Mon Feb 24, 2020 7:54 am

richmond62 wrote:
Mon Feb 24, 2020 7:42 am
What is the difference between the signal that is sent when I press button X on a USB device
that does not require a driver and on a device that does?
most input devices work either of two ways: functionality beyond three buttons is mapped to key commands, or a driver is provided to map anything to anything per whatever software the vendor provides.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

Re: My 6-button mouse

Post by richmond62 » Mon Feb 24, 2020 8:48 am

Presumably the reason buttons 4 and 5 work inwith web-browsers
is that they contain code to leverage those buttons.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10049
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: My 6-button mouse

Post by FourthWorld » Mon Feb 24, 2020 9:12 am

richmond62 wrote:
Mon Feb 24, 2020 8:48 am
Presumably the reason buttons 4 and 5 work inwith web-browsers
is that they contain code to leverage those buttons.
If you can describe what those buttons do, I'll be you'll find there's a common keyboard command for that action.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply