notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some Pico input support
[picodrive.git]
/
Pico
/
Pico
/
Pico.c
diff --git
a/Pico/Pico/Pico.c
b/Pico/Pico/Pico.c
index
fb4a3da
..
9b4fa8a
100644
(file)
--- a/
Pico/Pico/Pico.c
+++ b/
Pico/Pico/Pico.c
@@
-1,9
+1,16
@@
#include "../PicoInt.h"
#include "../PicoInt.h"
+// x: 0x03c - 0x19d
+// y: 0x1fc - 0x2f7
+// 0x2f8 - 0x3f3
+int PicoPicoPenPos[2] = { 0x3c, 0x200 };
+int PicoPicoPage = 0; // 0-6
+
PICO_INTERNAL int PicoInitPico(void)
{
elprintf(EL_STATUS, "Pico detected");
PicoAHW = PAHW_PICO;
PICO_INTERNAL int PicoInitPico(void)
{
elprintf(EL_STATUS, "Pico detected");
PicoAHW = PAHW_PICO;
+ PicoPicoPage = 0;
return 0;
}
return 0;
}