mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
Turn this function into static INLINE
This commit is contained in:
parent
007bb0de39
commit
0bd998665b
@ -22,6 +22,7 @@
|
||||
|
||||
#include <boolean.h>
|
||||
#include <compat/strl.h>
|
||||
#include <retro_inline.h>
|
||||
|
||||
#include "../input_config.h"
|
||||
#include "../input_joypad_driver.h"
|
||||
@ -73,7 +74,7 @@ static void *x_input_init(const char *joypad_driver)
|
||||
return x11;
|
||||
}
|
||||
|
||||
static bool x_key_pressed(x11_input_t *x11, int key)
|
||||
static INLINE bool x_key_pressed(x11_input_t *x11, int key)
|
||||
{
|
||||
unsigned sym = rarch_keysym_lut[(enum retro_key)key];
|
||||
int keycode = XKeysymToKeycode(x11->display, sym);
|
||||
|
Loading…
x
Reference in New Issue
Block a user