Kaleidoscope
Classes | Macros | Variables
Gamepad.h File Reference
#include <Arduino.h>
#include "PluggableUSB.h"
#include "HID.h"
#include "HID-Settings.h"
Include dependency graph for Gamepad.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  HID_GamepadReport_Data_t
 
class  Gamepad_
 

Macros

#define GAMEPAD_DPAD_CENTERED   0
 
#define GAMEPAD_DPAD_UP   1
 
#define GAMEPAD_DPAD_UP_RIGHT   2
 
#define GAMEPAD_DPAD_RIGHT   3
 
#define GAMEPAD_DPAD_DOWN_RIGHT   4
 
#define GAMEPAD_DPAD_DOWN   5
 
#define GAMEPAD_DPAD_DOWN_LEFT   6
 
#define GAMEPAD_DPAD_LEFT   7
 
#define GAMEPAD_DPAD_UP_LEFT   8
 

Variables

Gamepad_ Gamepad
 

Macro Definition Documentation

◆ GAMEPAD_DPAD_CENTERED

#define GAMEPAD_DPAD_CENTERED   0

◆ GAMEPAD_DPAD_DOWN

#define GAMEPAD_DPAD_DOWN   5

◆ GAMEPAD_DPAD_DOWN_LEFT

#define GAMEPAD_DPAD_DOWN_LEFT   6

◆ GAMEPAD_DPAD_DOWN_RIGHT

#define GAMEPAD_DPAD_DOWN_RIGHT   4

◆ GAMEPAD_DPAD_LEFT

#define GAMEPAD_DPAD_LEFT   7

◆ GAMEPAD_DPAD_RIGHT

#define GAMEPAD_DPAD_RIGHT   3

◆ GAMEPAD_DPAD_UP

#define GAMEPAD_DPAD_UP   1

◆ GAMEPAD_DPAD_UP_LEFT

#define GAMEPAD_DPAD_UP_LEFT   8

◆ GAMEPAD_DPAD_UP_RIGHT

#define GAMEPAD_DPAD_UP_RIGHT   2

Variable Documentation

◆ Gamepad

Gamepad_ Gamepad