Class used to interface with the handheld gamepad.

Fork of Gamepad by Craig Evans

Files at this revision

API Documentation at this revision

Comitter:
el15mh
Date:
Wed May 03 21:14:16 2017 +0000
Parent:
20:c0959710291b
Commit message:
fully working program

Changed in this revision

Gamepad.h Show annotated file Show diff for this revision Revisions of this file
diff -r c0959710291b -r 0adaa3883d1e Gamepad.h
--- a/Gamepad.h	Wed Apr 26 13:58:10 2017 +0000
+++ b/Gamepad.h	Wed May 03 21:14:16 2017 +0000
@@ -17,6 +17,9 @@
 #define TOL 0.1f
 #define RAD2DEG 57.2957795131f
 
+#define G_NOTE 196.00f
+#define C_NOTE 261.60f
+
 /** Enum for direction */
 enum Direction {
     CENTRE,  /**< joystick centred */