Toys for the Boys (and Girls)

All flavors welcome.
Forum rules
Be kind.
Post Reply
User avatar
richmond62
Posts: 4594
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Toys for the Boys (and Girls)

Post by richmond62 »

Devices.jpg
Devices.jpg (80.17 KiB) Viewed 1028 times
-
Some of my toys (which, admittedly, I NEVER use for games).

With LiveCode and OXT on MacOS and Linux rawKey codes come "straight down the line" without the need of drivers, and I would suppose it is the same with Windows.

As far as I understand most of the 'drivers' for these things (which seem, largely, to be Windows-only) are NOT drivers per se, but GUIs for setting up Macros.
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 4594
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Toys for the Boys (and Girls)

Post by richmond62 »

You can use this:
-
SShot 2024-11-11 at 10.04.30.png
SShot 2024-11-11 at 10.04.30.png (95.9 KiB) Viewed 1025 times
-
To map buttons, levers, whatever on a device.
Attachments
Raw Salad.oxtstack.zip
(1.07 KiB) Downloaded 22 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 4594
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Toys for the Boys (and Girls)

Post by richmond62 »


Oddly enough

-
oddlier.jpg
oddlier.jpg (6.49 KiB) Viewed 1023 times
-

having stated the above, the 2 devices on the left are NOT sending detectable key signals via MacOS 15.2.
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 4594
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: Toys for the Boys (and Girls)

Post by richmond62 »

You can, of course, make slightly childish stacks like this:
-
SShot 2024-11-11 at 15.51.39.png
SShot 2024-11-11 at 15.51.39.png (108.62 KiB) Viewed 1013 times
-

The cardScript goes like this:

Code: Select all

on rawKeyDown KD
   switch KD
      case 65289
         set the backGroundColor of grc "B1" to orange
         break
      case 113
         set the backGroundColor of grc "B2" to orange
         break
      case 119
         set the backGroundColor of grc "B3" to orange
         break
      case 101
         set the backGroundColor of grc "B4" to orange
         break
      case 114
         set the backGroundColor of grc "B5" to orange
         break
      case 119
         set the backGroundColor of grc "B3" to orange
         break
      case 101
         set the backGroundColor of grc "B4" to orange
         break
      case 114
         set the backGroundColor of grc "B5" to orange
         break
         ----
      case 97
         set the backGroundColor of grc "B7" to orange
         break
      case 115
         set the backGroundColor of grc "B8" to orange
         break
      case 100
         set the backGroundColor of grc "B9" to orange
         break
      case 102
         set the backGroundColor of grc "B10" to orange
         break
         ----
      case 122
         set the backGroundColor of grc "B12" to orange
         break
      case 120
         set the backGroundColor of grc "B13" to orange
         break
      case 99
         set the backGroundColor of grc "B14" to orange
         break
   end switch
end rawKeyDown

on rawKeyUp RU
   switch RU
      case 65289
         set the backGroundColor of grc "B1" to blue
         break
      case 113
         set the backGroundColor of grc "B2" to blue
         break
      case 114
         set the backGroundColor of grc "B5" to blue
         break
      case 119
         set the backGroundColor of grc "B3" to blue
         break
      case 101
         set the backGroundColor of grc "B4" to blue
         break
      case 114
         set the backGroundColor of grc "B5" to blue
         break
         ----
      case 97
         set the backGroundColor of grc "B7" to blue
         break
      case 115
         set the backGroundColor of grc "B8" to blue
         break
      case 100
         set the backGroundColor of grc "B9" to blue
         break
      case 102
         set the backGroundColor of grc "B10" to blue
         break
         ----
      case 122
         set the backGroundColor of grc "B12" to blue
         break
      case 120
         set the backGroundColor of grc "B13" to blue
         break
      case 99
         set the backGroundColor of grc "B14" to blue
         break
   end switch
end rawKeyUp
-
NostromoPic.jpg
NostromoPic.jpg (5.32 KiB) Viewed 1013 times
Attachments
N52 Guide.oxtstack.zip
(51.23 KiB) Downloaded 23 times
https://richmondmathewson.owlstown.net/
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests