Skip to content

Commit

Permalink
Fixed FreeBSD build
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 8, 2023
1 parent d9e6dcc commit a4c6b38
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/freebsd/SDL_evdev_kbd_freebsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,10 @@ static void k_shift(SDL_EVDEV_keyboard_state *kbd, unsigned char value, char up_
}
}

void SDL_EVDEV_kbd_set_muted(SDL_EVDEV_keyboard_state *state, SDL_bool muted)
{
}

void SDL_EVDEV_kbd_keycode(SDL_EVDEV_keyboard_state *kbd, unsigned int keycode, int down)
{
keymap_t key_map;
Expand Down
1 change: 1 addition & 0 deletions src/core/linux/SDL_evdev_kbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,7 @@ SDL_EVDEV_keyboard_state *SDL_EVDEV_kbd_init(void)
void SDL_EVDEV_kbd_set_muted(SDL_EVDEV_keyboard_state *state, SDL_bool muted)
{
}

void SDL_EVDEV_kbd_keycode(SDL_EVDEV_keyboard_state *state, unsigned int keycode, int down)
{
}
Expand Down

0 comments on commit a4c6b38

Please sign in to comment.