You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
282 B

  1. #ifndef _mappings_h__
  2. #define _mappings_h__
  3. #include <stdint.h>
  4. struct mapping {
  5. uint16_t ctl_btn;
  6. uint16_t usb_btn;
  7. };
  8. #define MAPPING_GAMECUBE_DEFAULT 0x00
  9. #define MAPPING_N64_DEFAULT 0x10
  10. uint16_t mappings_do(uint8_t mapping_id, uint16_t input);
  11. #endif // _mappings_h__