[PD] raw keyboard input?
Hans-Christoph Steiner
hans at eds.org
Fri Mar 5 00:39:55 CET 2004
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 at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-list
More information about the Pd-list
mailing list