Skip to content

Spanish Keyboard#41

Merged
xXorAa merged 1 commit intoSinclairQL:masterfrom
ikjordan:es_key
Feb 25, 2024
Merged

Spanish Keyboard#41
xXorAa merged 1 commit intoSinclairQL:masterfrom
ikjordan:es_key

Conversation

@ikjordan
Copy link
Copy Markdown
Collaborator

@ikjordan ikjordan commented Feb 24, 2024

Add generic Spanish keyboard support, including generic dead key and Alt Gr handling.
Written for, and tested on, Linux X11 and MS Windows

Main areas:

  1. Add ES keyboard option for command line and sqlux.ini
  2. Add ES keyboard map
  3. Split left and right Alt keys, to allow detection of Alt Gr key combinations needed in Spanish
  4. Add generic dead key support, which should make supporting other keyboard types easier in the future
  5. Handle SDL keycode differences between X11 and MS Windows Spanish keyboards
  6. Trivial update to Linux mingw build instructions, found during testing

Notes:

  1. Extensive testing in Linux by Badaman from QLforum, as a native Spanish user he helped to track down bugs and correct misconceptions I had on how a Spanish keyboard operates. Also tested on Pi OS (X11) and MS Windows.
  2. Does not work on Pi OS with SDL2 configured to use Wayland, as currently Wayland does not enable SDL2 to generate key press events for dead keys.
  3. To mark the inclusion of Spanish keyboard support Badaman asked if the next sQLux release could be named using a Monty Python Spanish Inquisition theme. The name "Comfy chair" was suggested

Add generic Spanish keyboard support, including generic deadkey and Alt
Gr handling.
Written for, and tested on, Linux X11 and MS Windows
@xXorAa xXorAa merged commit 0a48eec into SinclairQL:master Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants