#ifndef NESE_INPUT_H_ #define NESE_INPUT_H_ #define nes_controller_bus_mask (0b11111000) typedef enum { Button_A = 0, Button_B, Button_Select, Button_Start, Button_Up, Button_Down, Button_Left, Button_Right, } nes_Input_Button; typedef struct { uint8_t buttons; int8_t shift; } nes_Gamepad; typedef struct { nes_Gamepad gamepads[2]; } nes_Input; #endif // NESE_INPUT_H_