skybrush-io / live

An open-source drone show and drone swarm ground control station GUI frontend
https://skybrush.io
GNU General Public License v3.0
49 stars 34 forks source link

W hotkey does not work when Caps Lock is pressed #22

Open ntamas opened 2 years ago

ntamas commented 2 years ago

Steps to reproduce

  1. Select a drone in the UAVs list.
  2. Make sure that Caps Lock is enabled.
  3. Press W to flash the lights of the drone. Notice that it doesn't work.
  4. Disable the Caps Lock
  5. Press W again; now it works.

Expected result

The W hotkey should not be affected by the state of the Caps Lock modifier.

Additional information

Apparently only hotkeys without any other modifier key are affected; for instance, Cmd + S or Cmd + A works without problems, no matter whether Caps Lock is pressed or not.