File tree 2 files changed +13
-2
lines changed 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -255,6 +255,17 @@ class Keycode:
255
255
F19 = 0x6E
256
256
"""Function key F19 (Mac)"""
257
257
258
+ F20 = 0x6F
259
+ """Function key F20"""
260
+ F21 = 0x70
261
+ """Function key F21"""
262
+ F22 = 0x71
263
+ """Function key F22"""
264
+ F23 = 0x72
265
+ """Function key F23"""
266
+ F24 = 0x73
267
+ """Function key F24"""
268
+
258
269
LEFT_CONTROL = 0xE0
259
270
"""Control modifier left of the spacebar"""
260
271
CONTROL = LEFT_CONTROL
Original file line number Diff line number Diff line change @@ -65,13 +65,13 @@ def __init__(self, devices):
65
65
self .reset_all ()
66
66
67
67
def press_buttons (self , * buttons ):
68
- """Press and hold the given buttons. """
68
+ """Press and hold the given buttons."""
69
69
for button in buttons :
70
70
self ._buttons_state |= 1 << self ._validate_button_number (button ) - 1
71
71
self ._send ()
72
72
73
73
def release_buttons (self , * buttons ):
74
- """Release the given buttons. """
74
+ """Release the given buttons."""
75
75
for button in buttons :
76
76
self ._buttons_state &= ~ (1 << self ._validate_button_number (button ) - 1 )
77
77
self ._send ()
You can’t perform that action at this time.
0 commit comments