Hello Guest

[BUG] Linux KDE with 'Esc' and 'caps lock' swapped are not honoured.

  • 2 Replies
  • 1321 Views
As the title says. I have a user on linux, using KDE to remap his Esc and caps lock buttons. This is remapping is not registered in the GLFW wrapper, and the default bindings are registered.

This seems to be an issue in both LWJGL 3.2 and 3.1

This seem to occur in both GLFWKeyCallback (the key parameter, haven't looked at the scancode) and GLFWCharCallback

I've tried to find something similar in the GLFW bug forums, but to no avail. Just want confirmation that this is indeed a GLFW bug.
« Last Edit: January 15, 2023, 11:00:16 by jakethesnake »

*

Offline spasi

  • *****
  • 2261
    • WebHotelier
Re: [BUG] Linux KDE with 'Esc' and 'caps lock' swapped are not honoured.
« Reply #1 on: January 15, 2023, 17:37:53 »
Hey jakethesnake,

The event handling and key mapping logic lives entirely in GLFW, there's nothing in LWJGL's side that may affect it. It can be verified by running the native events test.

You'll likely have more luck reporting this to the GLFW github repo.

Re: [BUG] Linux KDE with 'Esc' and 'caps lock' swapped are not honoured.
« Reply #2 on: January 16, 2023, 08:50:52 »
Hey jakethesnake,

The event handling and key mapping logic lives entirely in GLFW, there's nothing in LWJGL's side that may affect it. It can be verified by running the native events test.

You'll likely have more luck reporting this to the GLFW github repo.

Many thanks!