mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
gp2x->common menu migration finished, gp2x now only uses input fwk
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@692 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
9025b93159
commit
991473ad43
24 changed files with 207 additions and 1769 deletions
|
@ -195,18 +195,6 @@ void gp2x_pd_clone_buffer2(void)
|
|||
}
|
||||
|
||||
|
||||
unsigned long gp2x_joystick_read(int unused)
|
||||
{
|
||||
unsigned long value=(gp2x_memregs[0x1198>>1] & 0x00FF); // GPIO M
|
||||
if(value==0xFD) value=0xFA;
|
||||
if(value==0xF7) value=0xEB;
|
||||
if(value==0xDF) value=0xAF;
|
||||
if(value==0x7F) value=0xBE;
|
||||
value = ~((gp2x_memregs[0x1184>>1] & 0xFF00) | value | (gp2x_memregs[0x1186>>1] << 16)); // C D
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
typedef struct ucb1x00_ts_event
|
||||
{
|
||||
unsigned short pressure;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue