mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-03-26 01:25:15 +00:00
Fixed warning and code style in SDL_evdev.c
This commit is contained in:
parent
d2c8c5094c
commit
a0d3e0d64a
|
@ -580,8 +580,10 @@ SDL_EVDEV_translate_keycode( int keycode )
|
||||||
return scancode;
|
return scancode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef SDL_USE_LIBUDEV
|
||||||
static int
|
static int
|
||||||
SDL_EVDEV_init_touchscreen( SDL_evdevlist_item* item ) {
|
SDL_EVDEV_init_touchscreen(SDL_evdevlist_item* item)
|
||||||
|
{
|
||||||
int ret, i;
|
int ret, i;
|
||||||
char name[64];
|
char name[64];
|
||||||
struct input_absinfo abs_info;
|
struct input_absinfo abs_info;
|
||||||
|
@ -657,6 +659,7 @@ SDL_EVDEV_init_touchscreen( SDL_evdevlist_item* item ) {
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif /* SDL_USE_LIBUDEV */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
SDL_EVDEV_destroy_touchscreen(SDL_evdevlist_item* item) {
|
SDL_EVDEV_destroy_touchscreen(SDL_evdevlist_item* item) {
|
||||||
|
|
Loading…
Reference in a new issue