Skip to content

Commit

Permalink
[Fix] windows keyboard-mapping: Basic letters could only be written i…
Browse files Browse the repository at this point in the history
…n capital. However I do not know if removing this breaks existing functionality. => Ctrl+a did not work before either...
  • Loading branch information
jegger committed May 8, 2017
1 parent 829f2ea commit 04651af
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cefbrowser/cefkeyboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,6 @@ def get_windows_key_code(self, kivycode):
# OnPreKeyEvent info for key events and replacate it here.
# (key codes can also be found on MSDN Virtual-key codes page)

# Must map basic letters, otherwise eg. ctrl+a to select all
# text won't work. (97-122 kivy <> 65-90 cef)
if 97 <= kivycode <= 122:
cefcode = kivycode - 32

other_keys_map = {
# Escape
"27": 27,
Expand Down

1 comment on commit 04651af

@cztomczak
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ctrl+a to select all text works fine in kivy_.py example in cefpython.

Please sign in to comment.