Write an object for the Windows event system.
I started working with DirectX, shuddered, then happily whipped out the
Linux objects. The Linux event system was cleanly laid out and easy to
deal with. DirectX was, well, not. So I don't have any plans on
working with DirectX unless paid good money to do so. I do have plans
to write objects like [linuxevent] for MacOS X, but that probably
doesn't help you. Also, a libSDL object wouldn't be too hard and it'd
run on Windows. I started working on that but never finished it.
.hc
On Friday, Mar 26, 2004, at 10:44 America/New_York, matthew jones wrote:
hans, is there ANY way you can think of to get similar behaviour to
[linuxevent] on windows?
would it even be possible?
a friend is using a USB switch interface with pd, and wants to use a
version
of my patch that uses a -nogui option (flash gui instead)......
any help would be greatly appreciated!
kind regards,
Matt
-=-=-=-=-=-=-=-=-=-=-=-=-
http://www.loopit.org/
-=-=-=-=-=-=-=-=-=-=-=-=-
----- Original Message -----
From: "Hans-Christoph Steiner" hans@eds.org
To: "Tim Blechmann" TimBlechmann@gmx.net
Cc: pd-list@iem.at
Sent: Friday, March 26, 2004 3:34 PM
Subject: Re: [PD] how do i interact with pd without gui?
On Friday, Mar 26, 2004, at 06:58 America/New_York, Tim Blechmann
wrote:
Hallo,
Tim Blechmann hat gesagt: // Tim Blechmann wrote:
but you can use some keys of the ascii keyboard for "play",
"stop","rec", etc, and print messages in the shell if you need to
(simply with the [print] object)
that was my first thought, but if you press a key on the console,
it's not grabbed by pd ... i actually don't know why, but it's
possible, that pd's keyboard access is through the gui ...
If you're on Linux you can use Hans' linuxevent objects which read
globally.
do i? i only have my mouse listed in /dev/input, but not the
keyboard...
[linuxevent] supports any device that the Linux event system does.
The
Linux event mostly supports USB devices, so AFAIK PS/2 mice don't
work,
for example. So maybe only USB keyboards work with this, but I'd like
to be wrong about this.
You might need to load a kernel module like evdev, or usbkeyb or
something like that.
.hc
PD-list mailing list
PD-list@iem.at
http://iem.at/cgi-bin/mailman/listinfo/pd-list