notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup the input mess, part2
[pcsx_rearmed.git]
/
frontend
/
plugin_lib.c
diff --git
a/frontend/plugin_lib.c
b/frontend/plugin_lib.c
index
bdf09c7
..
0f02312
100644
(file)
--- a/
frontend/plugin_lib.c
+++ b/
frontend/plugin_lib.c
@@
-33,7
+33,6
@@
#include "psemu_plugin_defs.h"
#include "../libpcsxcore/new_dynarec/new_dynarec.h"
#include "../libpcsxcore/psxmem_map.h"
#include "psemu_plugin_defs.h"
#include "../libpcsxcore/new_dynarec/new_dynarec.h"
#include "../libpcsxcore/psxmem_map.h"
-#include "../plugins/dfinput/externals.h"
#define HUD_HEIGHT 10
#define HUD_HEIGHT 10
@@
-620,16
+619,22
@@
static void update_input(void)
emu_set_action(emu_act);
in_keystate[0] = actions[IN_BINDTYPE_PLAYER12];
emu_set_action(emu_act);
in_keystate[0] = actions[IN_BINDTYPE_PLAYER12];
+
+ // fixme
+ //if (in_type[0] == PSE_PAD_TYPE_GUNCON && tsdev)
+ // pl_gun_ts_update(tsdev, xn, yn, in);
+ // in_analog_left[0][0] = xn
}
#else /* MAEMO */
extern void update_input(void);
#endif
}
#else /* MAEMO */
extern void update_input(void);
#endif
-void pl_
update_gun(int *xn, int *yn, int *xres, int *yres, int *in
)
+void pl_
gun_byte2(int port, unsigned char byte
)
{
{
- if (tsdev)
- pl_gun_ts_update(tsdev, xn, yn, in);
+}
+void plat_get_psx_resolution(int *xres, int *yres)
+{
*xres = psx_w;
*yres = psx_h;
}
*xres = psx_w;
*yres = psx_h;
}