mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 05:32:47 +00:00
- circle pad simulates dpad keys (up, right, down, left) - raw touchscreen data is provided but currently unused - added a simple shared memory region thing - fixed the 10ms delay to be _after_ the backlights are turned on, thanks to profi again as always, other stuff I probably forgot about
15 lines
229 B
C
Executable File
15 lines
229 B
C
Executable File
#pragma once
|
|
|
|
#include <types.h>
|
|
|
|
#define CODEC_TOUCH_VALID(x) ((x) != 0xFFFFFFFF)
|
|
|
|
typedef struct {
|
|
s16 cpad_x, cpad_y;
|
|
s16 ts_x, ts_y;
|
|
} CODEC_Input;
|
|
|
|
void CODEC_Init(void);
|
|
|
|
void CODEC_Get(CODEC_Input *input);
|