Command Center - Mouse Control
In order to sketch with processing, you need to learn how to register the “mouse” movement with code. In this case, the joystick moves in place of the mouse by using the same sketch as you would with a mouse.
Make sure the default firmware is loaded into your Command Center. Once it has been loaded, make sure it it in "Mouse" mode. If it is in "Keyboard" mode, use the center button to change it.
- Look at the following example:
The circle size changes with the speed of the mouse cursor. Find the line of code of the circle size and experiment by changing the values.
How else can you adjust the code?