diff options
Diffstat (limited to 'frontend/plugin_lib.h')
-rw-r--r-- | frontend/plugin_lib.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/frontend/plugin_lib.h b/frontend/plugin_lib.h index 49894af..759e125 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); |