bugfix: fix emulated keystrokes
This commit is contained in:
parent
cae9340a5d
commit
fd54ad7314
@ -116,3 +116,4 @@
|
||||
- most other exports fit into a reasonable QR (large / lower rez).
|
||||
- Tweak: Default idle timeout when on battery, was reduced to 10 minutes from 30.
|
||||
- Tweak: Cursor movements wrap around if menu is longer than screen height.
|
||||
- Bugfix: fixed `Type Passwords` a.k.a emulated keystrokes
|
||||
@ -974,10 +974,10 @@ class EmulatedKeyboard:
|
||||
for i, ch in enumerate(keystroke_string, start=1):
|
||||
cap = False
|
||||
to_press = self.char_map.get(ch, None)
|
||||
if ch is None:
|
||||
if to_press is None:
|
||||
cap = True
|
||||
to_press = self.char_map.get(ch.lower(), None)
|
||||
if ch is None:
|
||||
if to_press is None:
|
||||
# problem: we don't know how to type this char
|
||||
to_press = 0x1B # X
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user