Csound Csound-dev Csound-tekno Search About

[Csnd] joystick

Date2012-09-03 07:13
FromTarmo Johannes
Subject[Csnd] joystick
Hello,

I built csound 5.18 and tested the joystick opcode (openSuse 12.1) - works 
very well!

One question - it is not clear in documentation (html version 5.18.0, 
downloaded form sourceforge) what is returned in the kmask variable?

looking at the example, probably every bit signals about an event of an axis 
or button? so bit0 - axis0, bit1 - axis1, bit[axiscoun+1] - button0  etc? 
Could it be added to the documentation?

Thanks for the opcode!

tarmo

Date2012-09-03 13:42
FromJustin Smith
SubjectRe: [Csnd] joystick
That's exactly how I coded it, unless it changed later. It is for
distinguishing the exact cycle when a button was pressed or an axis
moved (because the value remains as long as held).

On Sun, Sep 2, 2012 at 11:13 PM, Tarmo Johannes
 wrote:
> Hello,
>
> I built csound 5.18 and tested the joystick opcode (openSuse 12.1) - works
> very well!
>
> One question - it is not clear in documentation (html version 5.18.0,
> downloaded form sourceforge) what is returned in the kmask variable?
>
> looking at the example, probably every bit signals about an event of an axis
> or button? so bit0 - axis0, bit1 - axis1, bit[axiscoun+1] - button0  etc?
> Could it be added to the documentation?
>
> Thanks for the opcode!
>
> tarmo
>
>
> 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"
>