mirror of
https://github.com/raphnet/gc_n64_usb-v3
synced 2024-12-21 14:58:51 -05:00
17 lines
282 B
C
17 lines
282 B
C
|
#ifndef _mappings_h__
|
||
|
#define _mappings_h__
|
||
|
|
||
|
#include <stdint.h>
|
||
|
|
||
|
struct mapping {
|
||
|
uint16_t ctl_btn;
|
||
|
uint16_t usb_btn;
|
||
|
};
|
||
|
|
||
|
#define MAPPING_GAMECUBE_DEFAULT 0x00
|
||
|
#define MAPPING_N64_DEFAULT 0x10
|
||
|
|
||
|
uint16_t mappings_do(uint8_t mapping_id, uint16_t input);
|
||
|
|
||
|
#endif // _mappings_h__
|