[PD] joysticks with hid
hans at eds.org
Fri Apr 8 22:56:13 CEST 2005
On Apr 8, 2005, at 12:11 PM, august wrote:
>>> hmm. I have the 'evdev' module loaded, but there is nothing at
>> You need:
>> mknod /dev/input/event0 c 13 64
>> mknod /dev/input/event1 c 13 65
>> mknod /dev/input/event2 c 13 66
>> mknod /dev/input/event3 c 13 67
>> mknod /dev/input/event4 c 13 68
>> mknod /dev/input/event5 c 13 69
> thanks....I had the devices listed alright....but the permissions
> set. maybe someone else is having the same problem.
> doing "chmod +r /dev/input/event*" should do the trick.
> now, HID works as expected.....but I only get a resolution from 0-255
> the joystick axis. Is that how it is supposed to be? I thought the
> resolution was much higher.
> best -august.
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
"Supposed to" might be the key word there. That value, AFAIK, depends
on the hardware. I have two joysticks: a Logitech Wingman, which
outputs 0-127, and a Saitek Force 3D, which outputs 0-4091. This is
also why I wrote the [autoscale] object which is used in the
[joystick], [tablet], and [mouse] objects. These objects always output
between 0 and 1, converting the output range of the device, to
resolution between 0 and 1. Then when you write a patch for one
joystick, it'll stick work with other joysticks.
"The arc of history bends towards justice."
Martin Luther King, Jr.
More information about the Pd-list