mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
extracted OSS code to sndout_oss_*, BTN->PBTN, refactoring
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@599 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
7b3f44c6b6
commit
e5ab6fafac
25 changed files with 497 additions and 589 deletions
|
@ -13,7 +13,7 @@
|
|||
#include "gp2x.h"
|
||||
#include "emu.h"
|
||||
#include "menu.h"
|
||||
#include "usbjoy.h"
|
||||
#include "../linux/usbjoy.h"
|
||||
#include "../common/emu.h"
|
||||
#include "../common/menu.h"
|
||||
#include "../common/arm_utils.h"
|
||||
|
@ -90,9 +90,9 @@ static unsigned long input2_read(unsigned long interesting, int *joy)
|
|||
{
|
||||
*joy = 0;
|
||||
if ((ret = gp2x_joystick_read(0) & interesting)) break;
|
||||
gp2x_usbjoy_update();
|
||||
usbjoy_update();
|
||||
for (i = 0; i < num_of_joys; i++) {
|
||||
ret = gp2x_usbjoy_check2(i);
|
||||
ret = usbjoy_check2(i);
|
||||
if (ret) { *joy = i + 1; break; }
|
||||
}
|
||||
if (ret) break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue