Fixed bug 5346 - Add FreeBSD evdev KBIO keyboard input driver

wahil1976

This patch adds the KBIO text input driver for FreeBSD, which allows text input to fully work without text spilling out into the console. It also supports accented input, AltGr keys and Alt Lock combinations.

Tested with US accent keys layout and various AltGr layouts.
This commit is contained in:
Sam Lantinga 2020-11-11 19:37:47 -08:00
parent 38ed8a955a
commit 1822f97e5f
6 changed files with 808 additions and 1 deletions

View file

@ -819,7 +819,7 @@ SDL_EVDEV_kbd_keycode(SDL_EVDEV_keyboard_state *kbd, unsigned int keycode, int d
}
}
#else /* !SDL_INPUT_LINUXKD */
#elif !defined(SDL_INPUT_FBSDKBIO) /* !SDL_INPUT_LINUXKD */
SDL_EVDEV_keyboard_state *
SDL_EVDEV_kbd_init(void)