]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - Output/pjrcUSB/arm/usb_joystick.c
Major USB update, fixes most (if not all) known issues
[kiibohd-controller.git] / Output / pjrcUSB / arm / usb_joystick.c
index 2b5ea7915e1692a0fb0606f3c221b632103f1314..9edcccb87d1e1439ffce0a3279eda2d5306330a6 100644 (file)
@@ -1,7 +1,7 @@
 /* Teensyduino Core Library
  * http://www.pjrc.com/teensy/
  * Copyright (c) 2013 PJRC.COM, LLC.
- * Modified by Jacob Alexander (2015)
+ * Modified by Jacob Alexander (2015-2016)
  *
  * Permission is hereby granted, free of charge, to any person obtaining
  * a copy of this software and associated documentation files (the
@@ -29,6 +29,8 @@
  * SOFTWARE.
  */
 
+#if enableJoystick_define == 1
+
 // ----- Includes -----
 
 // Compiler Includes
@@ -112,3 +114,5 @@ int usb_joystick_send()
         return 0;
 }
 
+#endif
+