This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Joystick.h> | |
Joystick_ Joystick(JOYSTICK_DEFAULT_REPORT_ID,JOYSTICK_TYPE_GAMEPAD, //Set up for joystick | |
1, 0, // button counter values | |
true, true, false, // axes (x,y,z) | |
false, false, false, // no Rx, Ry, or Rz (rotation around respective axis) | |
false, false, // no rudder or throttle | |
false, false, false); // no accelerator, brake, or steering | |
void setup() { |