some Pico input support

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@441 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-05-06 20:56:54 +00:00
parent 6cab49fd07
commit 406c96c547
7 changed files with 125 additions and 23 deletions

View file

@ -1,9 +1,16 @@
#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;
PicoPicoPage = 0;
return 0;
}