DEF BIT_A_BUTTON EQU 0
DEF BIT_B_BUTTON EQU 1
DEF BIT_SELECT   EQU 2
DEF BIT_START    EQU 3
DEF BIT_D_RIGHT  EQU 4
DEF BIT_D_LEFT   EQU 5
DEF BIT_D_UP     EQU 6
DEF BIT_D_DOWN   EQU 7

DEF A_BUTTON EQU %00000001
DEF B_BUTTON EQU %00000010
DEF SELECT   EQU %00000100
DEF START    EQU %00001000
DEF D_RIGHT  EQU %00010000
DEF D_LEFT   EQU %00100000
DEF D_UP     EQU %01000000
DEF D_DOWN   EQU %10000000

DEF R_FLIPPER EQU A_BUTTON
DEF L_FLIPPER EQU D_LEFT
DEF FLIPPERS EQU L_FLIPPER | R_FLIPPER
