jackhumbert / pinebook-pro-keyboard-updater

A keyboard/touchpad firmware and updater for the Pinebook Pro
80 stars 11 forks source link

Mod4+Space doesn't work #38

Open rudism opened 3 years ago

rudism commented 3 years ago

This problem is also in the original firmware.

The patched version here fixes Mod4+[arrow key] combinations for me, but it would be nice if Mod4+Space could receive a similar fix. It's different from the arrow key problem in that wev is registering key presses for me when I hold down Mod4 and press space--just not the space key. It looks kind of like it's simulating releasing and pressing the Mod4 key several times every time I press space.

Normal space key press and release output:

[14:     wl_keyboard] key: serial: 1841; time: 429346; key: 65; state: 1 (pressed)
                      sym: space        (32), utf8: ' '
[14:     wl_keyboard] key: serial: 1842; time: 429410; key: 65; state: 0 (released)
                      sym: space        (32), utf8: ''

Pressing Mod4:

[14:     wl_keyboard] key: serial: 1843; time: 430010; key: 133; state: 1 (pressed)
                      sym: Super_L      (65515), utf8: ''
[14:     wl_keyboard] modifiers: serial: 0; group: 0
                      depressed: 00000040: Mod4
                      latched: 00000000
                      locked: 00000000

This is what happens when I press and release space a single time while Mod4 is still pressed:

[14:     wl_keyboard] modifiers: serial: 1; group: 0
                      depressed: 00000040: Mod4
                      latched: 00000000
                      locked: 00000000
[14:     wl_keyboard] modifiers: serial: 0; group: 0
                      depressed: 00000040: Mod4
                      latched: 00000000
                      locked: 00000000
[14:     wl_keyboard] modifiers: serial: 1; group: 0
                      depressed: 00000040: Mod4
                      latched: 00000000
                      locked: 00000000
[14:     wl_keyboard] modifiers: serial: 0; group: 0
                      depressed: 00000040: Mod4
                      latched: 00000000
                      locked: 00000000
[14:     wl_keyboard] modifiers: serial: 1; group: 0
                      depressed: 00000040: Mod4
                      latched: 00000000
                      locked: 00000000
[14:     wl_keyboard] modifiers: serial: 0; group: 0
                      depressed: 00000040: Mod4
                      latched: 00000000
                      locked: 00000000

And then releasing Mod4:

[14:     wl_keyboard] key: serial: 1851; time: 431018; key: 133; state: 0 (released)
                      sym: Super_L      (65515), utf8: ''
[14:     wl_keyboard] modifiers: serial: 0; group: 0
                      depressed: 00000000
                      latched: 00000000
                      locked: 00000000