project64/Source/Project64-input/N64Controller.h

30 lines
555 B
C
Raw Normal View History

2020-06-23 07:47:46 +00:00
#pragma once
#include "Button.h"
typedef struct
{
BUTTON U_DPAD;
BUTTON D_DPAD;
BUTTON L_DPAD;
BUTTON R_DPAD;
BUTTON A_BUTTON;
BUTTON B_BUTTON;
BUTTON U_CBUTTON;
BUTTON D_CBUTTON;
BUTTON L_CBUTTON;
BUTTON R_CBUTTON;
BUTTON START_BUTTON;
BUTTON Z_TRIG;
BUTTON R_TRIG;
BUTTON L_TRIG;
BUTTON U_ANALOG;
BUTTON D_ANALOG;
BUTTON L_ANALOG;
BUTTON R_ANALOG;
uint8_t Range;
uint8_t DeadZone;
uint8_t Sensitivity;
2020-07-27 11:51:30 +00:00
bool RealN64Range;
bool RemoveDuplicate;
2020-06-23 07:47:46 +00:00
} N64CONTROLLER;