X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fplugin_lib.h;h=759e12571b3ac6a8c32ac4cc0dd12a2e81d5bfd0;hp=49894afd61545b7f3a9011f058008b749c55c6ee;hb=4c08b9e7dd350a48fc3e0515913d6ccc8b15e5ae;hpb=19e57cbf170d1ce49f00097f3cc3a4ed96d77374 diff --git a/frontend/plugin_lib.h b/frontend/plugin_lib.h index 49894afd..759e1257 100644 --- a/frontend/plugin_lib.h +++ b/frontend/plugin_lib.h @@ -17,7 +17,8 @@ enum { DKEY_CROSS, DKEY_SQUARE, }; -extern int in_type, in_keystate, in_a1[2], in_a2[2]; +extern int in_type1, in_type2; +extern int in_keystate, in_state_gun, in_a1[2], in_a2[2]; void in_update_analogs(void); extern void *pl_fbdev_buf; @@ -30,6 +31,9 @@ void pl_fbdev_close(void); void pl_text_out16(int x, int y, const char *texto, ...); void pl_start_watchdog(void); void *pl_prepare_screenshot(int *w, int *h, int *bpp); +void pl_init(void); + +void pl_update_gun(int *xn, int *xres, int *y, int *in); struct rearmed_cbs { void (*pl_get_layer_pos)(int *x, int *y, int *w, int *h);