mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-07 22:34:12 +08:00
28 lines
563 B
C
28 lines
563 B
C
#ifndef _KEY_REMIX_H_
|
|
#define _KEY_REMIX_H_
|
|
|
|
#define KEY_REMIX_LIMIT 4
|
|
|
|
#define REMIX_TYPE_NONE 0
|
|
#define REMIX_TYPE_REMAP 1
|
|
#define REMIX_TYPE_CHEAT 2
|
|
#define REMIX_TYPE_UNLINK 3
|
|
#define REMIX_TYPE_HOLD 4
|
|
#define REMIX_TYPE_COUNT 4
|
|
|
|
#include <stdint.h>
|
|
|
|
typedef uint8_t remix_t;
|
|
typedef uint32_t phykey_t;
|
|
typedef uint16_t conkey_t;
|
|
|
|
typedef struct{
|
|
remix_t remix_type;
|
|
phykey_t device_keys;
|
|
conkey_t game_keys;
|
|
} key_remix_t;
|
|
|
|
extern key_remix_t g_keyremixConfig[KEY_REMIX_LIMIT];
|
|
|
|
#endif//_KEY_REMIX_H_
|