luigoalma
d27cfc71e1
Indentation fixes
...
Indentation fixes everywhere
(mostly anyway under arm9/source/)
And some other tab to spaces
2020-03-28 07:05:42 -03:00
Wolfvak
bb5182cae3
skip unnecessary fixed point conversion + multiplication in touchscreen reading code
2019-06-03 02:28:25 +02:00
d0k3
dbd8b8aca8
Included software keyboard in testing
2019-06-03 02:28:25 +02:00
d0k3
ca8c2070f5
Change how TouchboxGet() works
2019-06-03 02:28:25 +02:00
d0k3
c3152838db
Move touchbox functions to hid.c / hid.h
2019-06-03 02:28:24 +02:00
Wolfvak
77f857ab64
- added way to prevent a race condition when reading the touchscreen values
...
- simplified CODEC init and read code
- fixed I2C register
thanks to @profi200 for the last two points
2019-06-03 02:27:44 +02:00
Wolfvak
79aa9191f7
- clamp down the touchscreen coordinates to boundaries
...
- fix annoying compilation warning regarding unsigned vs signed comparison
2019-06-03 02:27:42 +02:00
Wolfvak
1b04ca4fa1
- added touchscreen calibration code
...
- added very simple 12-bit precision fixed point arithmetic code as a fast float replacement
2019-06-03 02:27:42 +02:00
Wolfvak
bf45ee3900
- 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-06-03 02:27:42 +02:00
Wolfvak
f5a877d00b
- implemented MCU stuff and its interrupts, thanks @profi200 for the info
...
- moved brightness control to the ARM11
- moved HID updating to the ARM11
- moved screen init from ARM9 to the ARM11, always performed unconditionally
- removed unnecessary SCREENINIT and SET_BRIGHTNESS pxi commands
and other stuff I probably forgot about
2019-06-03 02:27:41 +02:00
d0k3
d762c390af
CPPCheck audit, several fixes
2019-03-21 00:42:39 +01:00
d0k3
0caf2a6cbb
Scripting: add keysel command
2018-04-25 15:25:07 +02:00
d0k3
534174e630
Moved color definitions to their own .h file
2017-11-22 03:17:57 +01:00
Wolfvak
beeea37d07
Revised Makefile
2017-11-17 19:37:45 +01:00