hi again, i have a series of patches that i need to be able to control through keyboard commands regardless of whether the window containing the pd object that grabs the input is the current focus or not. did that sentence make any sense? i need to be able to get the raw stuff from the keyboard input which i can then filter and interpret at will.
i found and built hans' linuxevent objects, but i'm missing some basic bit of information regarding the linux event system. the hid module is loaded on my machine, but trying any of the examples in linuxhid reports something like:
[linuxevent] open /dev/input/keyboard failed
googling around produced the USB HID for Linux USB document which didn't really help that much.
can anyone suggest a way to do this in pd with linux? i'd realy like to do it inside pd, as opposed to yet another helper app that communicates via netreceive, etc. i'd also like to avoid any additional hardware, i.e. usb or serial outboard devices.
grateful as always, bill
hi,
Am Mittwoch, 3. März 2004 16:04 schrieb Bill Sack:
[...snip...]
i found and built hans' linuxevent objects, but i'm missing some basic bit of information regarding the linux event system. the hid module is loaded on my machine, but trying any of the examples in linuxhid reports something like:
[linuxevent] open /dev/input/keyboard failed
googling around produced the USB HID for Linux USB document which didn't really help that much.
you need the following, either as modules or compiled in your kernel :
evdev input
the hid module alone wont help you .... "input" grabs "hid", "evdev" grabs "input" to make it available as /dev/input/eventX
greets,
chris
i'm still w/out a clue - loaded the modules you suggested, still nothing. awaiting lightning bolt or cartoon light bulb above my head.
fortunately the newest pdp (0.12.3) reports keypress events in the xv window (thanks for this feature, by the way), so this takes care of my immediate problem.
thanks anyway, b
Christian Klippel wrote:
hi,
Am Mittwoch, 3. März 2004 16:04 schrieb Bill Sack:
[...snip...]
i found and built hans' linuxevent objects, but i'm missing some basic bit of information regarding the linux event system. the hid module is loaded on my machine, but trying any of the examples in linuxhid reports something like:
[linuxevent] open /dev/input/keyboard failed
googling around produced the USB HID for Linux USB document which didn't really help that much.
you need the following, either as modules or compiled in your kernel :
evdev input
the hid module alone wont help you .... "input" grabs "hid", "evdev" grabs "input" to make it available as /dev/input/eventX
greets,
chris
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
Currently, [linuxevent] only works with /dev/input/eventX devices.
Ideally it would be smart enough to also use /dev/input/mouseX,
/dev/input/mice, /dev/input/jsX, etc. but I haven't gotten to that yet.
.hc
On Wednesday, Mar 3, 2004, at 10:04 America/New_York, Bill Sack wrote:
hi again, i have a series of patches that i need to be able to control through keyboard commands regardless of whether the window containing the pd object that grabs the input is the current focus or not. did that sentence make any sense? i need to be able to get the raw stuff from the keyboard input which i can then filter and interpret at will.
i found and built hans' linuxevent objects, but i'm missing some basic bit of information regarding the linux event system. the hid module is loaded on my machine, but trying any of the examples in linuxhid reports something like:
[linuxevent] open /dev/input/keyboard failed
googling around produced the USB HID for Linux USB document which didn't really help that much.
can anyone suggest a way to do this in pd with linux? i'd realy like to do it inside pd, as opposed to yet another helper app that communicates via netreceive, etc. i'd also like to avoid any additional hardware, i.e. usb or serial outboard devices.
grateful as always, bill -- _________ Bill Sack wsack(a)acsu.buffalo.edu
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list