| hello,
joystick opcode - yes! I have used a joystick so far thoru external library
(in c++) through osc messages or csound API: An opcode would be very nice!
greetings,
tarmo
On Monday 28 May 2012 16:53:53 john ffitch wrote:
> I have code by Justin Glenn Smith that provides opcode linuxjoystick
> to read input values from a joystick. As the name suggests the code
> is linux only and needs real work for Windows and OSX.
>
> I have been sitting on this code for a while and was wondering if it
> was of use/interest to anyone; what should I do with it?
>
> ==John ffitch
>
>
> USAGE:
> kresultmask linuxjoystick kdevice ktab
>
> kdevice = The index of the joystick device, either /dev/js or
> /dev/input/js
>
> ktab = A table to hold input results, should be at least enough elements
> to store one value for each stick axis and one for each button + 2.
> The first two elements of the table are initialized with the number of axes
> and the number of buttons, respectively, when a joystick is opened. If a
> joystick is unplugged during performance, the opcode will repeatedly
> attempt to reopen the device with a delay between attempts.
>
> kresultmask: A bitmask, with a 1 bit for each table index with a new input
> received.
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
|