Hi,
Here is a little tool to use the Griffin PowerMate with any OSC enabled application.
The attached zip contain an executable tool that can be double clicked (it will open a Terminal window), and an example Osculator file.
When the tool is launched, it searches for a PowerMate. I have not installed the drivers, so I can't tell for sure if there is no side effect with the software provided by Griffin, but I guess it should be ok. If there are some strange interactions, I would recommend to either uninstall the Griffin software or disable it there is a way to do so.
Right now, only one PowerMate can be used at a time.
The tool sends OSC messages to port 8000, which is the default input port of OSCulator.
The sent messages are as follows :
It reacts to the following OSC messages:
Depending on the macOS version you are using, you will need to download
Here is a little tool to use the Griffin PowerMate with any OSC enabled application.
The attached zip contain an executable tool that can be double clicked (it will open a Terminal window), and an example Osculator file.
When the tool is launched, it searches for a PowerMate. I have not installed the drivers, so I can't tell for sure if there is no side effect with the software provided by Griffin, but I guess it should be ok. If there are some strange interactions, I would recommend to either uninstall the Griffin software or disable it there is a way to do so.
Right now, only one PowerMate can be used at a time.
The tool sends OSC messages to port 8000, which is the default input port of OSCulator.
The sent messages are as follows :
- /powermate/button
A message with one float argument (0 or 1), that gives the state of the button. 0 is released, 1 is pressed. - /powermate/button/long
A message with no argument telling if the press on the button was a long press (600 ms). - /powermate/button/double
A message with no argument telling if the button has been double clicked in a short time (200 ms). - /powermate/rotation
The current rotation. It can go indefinitely in the positive of the negative direction. The message has one float argument that starts at value 0. 1 represents one full rotation in the clockwise direction, 2 two full rotations, and so on. -1 is one full rotation in anti-clockwise direction. - /powermate/rotation/bounded
The current rotation but stops at the [-1 1] bounds. The initial value is 0.
Note: I was wondering if I should not rather make it start at 0.5 and limit the bounds at [0 1] - /powermate/rotation/cyclic
The current rotation, but wraps around [0 1], that is, when a full turn is done, the value wraps at 0 again. - /powermate/rotation/increment
No argument. Sent every time the value increases. - /powermate/rotation/decrement
No argument. Sent every time the value decreases.
It reacts to the following OSC messages:
- /powermate/rotation/reset
Resets the /powermate/rotation message to its initial value (0).
No argument. - /powermate/led
Changes the led brightness.
One float argument between 0 and 1. A value of 0 means that the led is turned off, and a value of 1 means full brightness.
Depending on the macOS version you are using, you will need to download
- oscltr-powermate_20110714.zip – up to macOS Mojave 10.14 (32 bit executable)
- oscltr-powermate_20210210.zip – from macOS Mojave 10.14 and later (64 bit executable, code signed)
Comment