HidIn @ joy-shake.ck with dracula
I played around with my joystick and ChucK 1.2.0.7 on OS X and found something to change in chuck/examples/hid/joy-shake.ck The line 26 "if( msg.type == HidIn.joystickAxis )" must be "if( msg.isAxisMotion() )" now and so line 36 "if( msg.type == HidIn.buttonDown )" now "if( msg.isButtonDown() )". Same with examples in the miniAudicle folder.
Ah yes--forgot to change those. that can probably be silently updated in the packages for the current release. thanks for finding that. spencer On Sep 20, 2006, at 5:20 AM, Tasmo wrote:
I played around with my joystick and ChucK 1.2.0.7 on OS X and found something to change in chuck/examples/hid/joy-shake.ck
The line 26 "if( msg.type == HidIn.joystickAxis )" must be "if( msg.isAxisMotion() )" now and so line 36 "if( msg.type == HidIn.buttonDown )" now "if( msg.isButtonDown() )".
Same with examples in the miniAudicle folder. _______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
participants (2)
-
Spencer Salazar
-
Tasmo