Logo
Explore Help
Register Sign In
Mirror/GodMode9
1
0
Fork 1
You've already forked GodMode9
mirror of https://github.com/d0k3/GodMode9.git synced 2025-06-26 13:42:47 +00:00
Code Issues Packages Projects Releases Wiki Activity
GodMode9/arm11/source/hw/codec.h

15 lines
229 B
C
Raw Normal View History

- added new SPI and CODEC drivers ported from linux, thanks to xerpi - 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
2019-04-18 16:39:45 -03:00
#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);
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 13ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API