File tree Expand file tree Collapse file tree
CircuitPython_NeXT_Keyboard_RP2040 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212from adafruit_hid .keyboard import Keycode
1313from adafruit_pioasm import Program
1414from adafruit_ticks import ticks_add , ticks_less , ticks_ms
15-
16- # Customize the power key's keycode. You can change it to `Keycode.POWER` if
17- # you really want to accidentally power off your computer!
18- POWER_KEY_SENDS = Keycode .F1
19-
2015from next_keycode import (
2116 cc_value ,
2217 is_cc ,
2621 shift_modifiers ,
2722)
2823
24+ # Customize the power key's keycode. You can change it to `Keycode.POWER` if
25+ # you really want to accidentally power off your computer!
26+ POWER_KEY_SENDS = Keycode .F1
27+
2928# according to https://journal.spencerwnelson.com/entries/nextkb.html the
3029# keyboard's timing source is a 455MHz crystal, and the serial data rate is
3130# 1/24 the crystal frequency. This differs by a few percent from the "50us" bit
You can’t perform that action at this time.
0 commit comments