mirror of
https://gitee.com/anod/open_agb_firm.git
synced 2025-05-07 14:24:12 +08:00
忘记提交这个声明文件了
This commit is contained in:
parent
fa19e72c3d
commit
da06e1a639
26
include/arm11/keyremix.h
Normal file
26
include/arm11/keyremix.h
Normal file
@ -0,0 +1,26 @@
|
||||
#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_HOLD 3
|
||||
#define REMIX_TYPE_COUNT 3
|
||||
|
||||
#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_
|
Loading…
x
Reference in New Issue
Block a user