File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -255,6 +255,17 @@ class Keycode:
255255 F19 = 0x6E
256256 """Function key F19 (Mac)"""
257257
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+
258269 LEFT_CONTROL = 0xE0
259270 """Control modifier left of the spacebar"""
260271 CONTROL = LEFT_CONTROL
Original file line number Diff line number Diff line change @@ -65,13 +65,13 @@ def __init__(self, devices):
6565 self .reset_all ()
6666
6767 def press_buttons (self , * buttons ):
68- """Press and hold the given buttons. """
68+ """Press and hold the given buttons."""
6969 for button in buttons :
7070 self ._buttons_state |= 1 << self ._validate_button_number (button ) - 1
7171 self ._send ()
7272
7373 def release_buttons (self , * buttons ):
74- """Release the given buttons. """
74+ """Release the given buttons."""
7575 for button in buttons :
7676 self ._buttons_state &= ~ (1 << self ._validate_button_number (button ) - 1 )
7777 self ._send ()
You can’t perform that action at this time.
0 commit comments