Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KMKfw/kmk_firmware
/ functions
Functions
1,183 in github.com/KMKfw/kmk_firmware
⨍
Functions
1,183
◇
Types & classes
267
↓ 235 callers
Method
test
(self, testname, key_events, assert_reports)
tests/keyboard_test.py:102
↓ 81 callers
Method
go
(self, hid_type=HIDModes.USB, secondary_hid_type=None, **kwargs)
kmk/kmk_keyboard.py:435
↓ 71 callers
Function
make_key
Create a new key, aliased by `names` in the KC lookup table. Names are globally unique. If a later key is created with the same name as
kmk/keys.py:563
↓ 40 callers
Function
MN
(note: str)
user_keymaps/ZFR_KBD/RP2.65-F.py:175
↓ 37 callers
Function
ticks_ms
()
tests/mocks.py:12
↓ 31 callers
Function
make_argumented_key
( names: Tuple[str, ...], constructor: [Key, Callable[[...], Key]], **_kwargs, )
kmk/keys.py:590
↓ 30 callers
Method
move
(self, keyboard: Keyboard, delta: int)
kmk/keys.py:30
↓ 27 callers
Method
test
(self)
tests/test_tapdance.py:15
↓ 26 callers
Method
get
(self, name: str, default: Optional[Key] = None)
kmk/keys.py:400
↓ 19 callers
Function
debug_error
(module, message: str, error: Exception)
kmk/kmk_keyboard.py:23
↓ 19 callers
Method
write
(self, buf)
kmk/transports/pio_uart.py:80
↓ 17 callers
Method
resume_process_key
( self, module: Module, key: Key, is_pressed: bool, int_coord: Optiona
kmk/kmk_keyboard.py:220
↓ 15 callers
Method
cancel_timeout
(self, timeout_key: int)
kmk/kmk_keyboard.py:248
↓ 15 callers
Method
clear
(self)
kmk/hid.py:77
↓ 14 callers
Method
_do_update
(self)
kmk/extensions/rgb.py:432
↓ 14 callers
Function
clamp
(x: int, bottom: int = 0, top: int = 100)
kmk/utils.py:11
↓ 11 callers
Function
create_task
( func: [Callable[[None], None], Task, PeriodicTaskMeta], *, after_ms: int = 0, period_ms: int
kmk/scheduler.py:37
↓ 11 callers
Method
on_press
(self, keyboard: KMKKeyboard, key: Key, int_coord: Optional[int])
kmk/modules/combos.py:137
↓ 11 callers
Method
on_release
(self, keyboard: KMKKeyboard, key: Key, int_coord: Optional[int])
kmk/modules/combos.py:200
↓ 11 callers
Method
set_brightness
(self, percent, leds=None)
kmk/extensions/led.py:148
↓ 11 callers
Method
tap_key
(self, keycode: Key)
kmk/kmk_keyboard.py:240
↓ 10 callers
Method
_send_hid
(self)
kmk/kmk_keyboard.py:79
↓ 10 callers
Method
_task_loop
(self, duration)
tests/test_scheduler.py:11
↓ 10 callers
Method
adns_read
(self, reg)
kmk/modules/adns9800.py:99
↓ 10 callers
Function
extract_code
(key)
tests/test_string_substitution.py:8
↓ 10 callers
Method
get_character_at_index
Returns the character at the given index
kmk/modules/string_substitution.py:63
↓ 10 callers
Method
pop
(self)
tests/task.py:130
↓ 10 callers
Method
remove
(self, v)
tests/task.py:137
↓ 10 callers
Method
set_timeout
(self, keyboard, key)
kmk/modules/sticky_keys.py:97
↓ 10 callers
Function
ticks_diff
(new: int, start: int)
kmk/kmktime.py:9
↓ 9 callers
Method
next_character
Increment the current index for this phrase
kmk/modules/string_substitution.py:58
↓ 8 callers
Method
_check_update
(self)
kmk/extensions/rgb.py:429
↓ 8 callers
Method
_i2c_rdwr
Write and optionally read I2C data.
kmk/modules/pimoroni_trackball.py:268
↓ 8 callers
Method
_maybe_start_move
(self, mask)
kmk/modules/mouse_keys.py:94
↓ 8 callers
Method
_maybe_stop_move
(self, mask)
kmk/modules/mouse_keys.py:99
↓ 8 callers
Function
cancel_task
(t: [Task, PeriodicTaskMeta])
kmk/scheduler.py:72
↓ 8 callers
Method
pre_process_key
( self, key: Key, is_pressed: bool, int_coord: Optional[int] = None, i
kmk/kmk_keyboard.py:187
↓ 8 callers
Method
restart
Resets this rule's to_substitute and substitution phrases
kmk/modules/string_substitution.py:91
↓ 8 callers
Method
sleep
(self)
kmk/extensions/display/__init__.py:85
↓ 7 callers
Method
__init__
(self, size)
kmk/hid.py:73
↓ 7 callers
Method
adns_write
(self, reg, data)
kmk/modules/adns9800.py:88
↓ 7 callers
Function
check_deadline
(new: int, start: int, ms: int)
kmk/kmktime.py:19
↓ 7 callers
Method
push
(self, v, key=None)
tests/task.py:123
↓ 7 callers
Method
reset
(self)
kmk/modules/combos.py:70
↓ 7 callers
Method
set_brightness
(self, percent, layer_id=-1)
kmk/extensions/statusled.py:116
↓ 7 callers
Method
show
Turns on all LEDs/Neopixels without changing stored values
kmk/extensions/rgb.py:375
↓ 7 callers
Method
update
Read a new value from an analogio compatible input, apply transformation, then return either the new value if it changed or `None`
kmk/modules/analogin/__init__.py:51
↓ 6 callers
Function
Tap
(key)
kmk/modules/macros.py:59
↓ 6 callers
Method
activate_layer
(self, keyboard, layer, idx=None)
kmk/modules/layers.py:143
↓ 6 callers
Method
count_matching
(self)
kmk/modules/combos.py:325
↓ 6 callers
Method
index_at_end
Returns True if the index is at the end of the phrase
kmk/modules/string_substitution.py:75
↓ 6 callers
Method
insert
(self, key: Key, int_coord: int)
kmk/modules/combos.py:64
↓ 6 callers
Method
reset_combo
(self, keyboard, combo)
kmk/modules/combos.py:313
↓ 5 callers
Method
deactivate
(self, keyboard, key)
kmk/modules/sticky_keys.py:146
↓ 5 callers
Method
get_value
(self)
kmk/modules/encoder.py:169
↓ 5 callers
Method
ht_activate_tap
(self, key, keyboard, *args, **kwargs)
kmk/modules/holdtap.py:248
↓ 5 callers
Method
ht_deactivate_tap
(self, key, keyboard, *args, **kwargs)
kmk/modules/holdtap.py:253
↓ 5 callers
Method
read
(self, n)
kmk/transports/pio_uart.py:87
↓ 5 callers
Method
remove_key
(self, key)
kmk/hid.py:113
↓ 5 callers
Method
reset
(self, keyboard)
kmk/modules/combos.py:320
↓ 5 callers
Method
send_key_buffer
(self, keyboard)
kmk/modules/combos.py:297
↓ 4 callers
Function
Press
(key)
kmk/modules/macros.py:51
↓ 4 callers
Function
Release
(key)
kmk/modules/macros.py:55
↓ 4 callers
Method
_stop_sequence
(self, key, keyboard, *args, **kwargs)
kmk/modules/dynamic_sequences.py:100
↓ 4 callers
Method
adns_start
(self)
kmk/modules/adns9800.py:82
↓ 4 callers
Method
adns_stop
(self)
kmk/modules/adns9800.py:85
↓ 4 callers
Function
ensure_DIO
(x)
kmk/scanners/digitalio.py:8
↓ 4 callers
Function
find_device
(devices, usage_page, usage)
kmk/hid.py:62
↓ 4 callers
Method
get_character_at_current_index
Returns the character at the current index for this phrase
kmk/modules/string_substitution.py:67
↓ 4 callers
Method
increase_hue
Increases hue by step amount rolling at 256 and returning to 0 :param step:
kmk/extensions/rgb.py:266
↓ 4 callers
Method
on_move_do
(self, keyboard, encoder_id, state)
kmk/modules/encoder.py:292
↓ 4 callers
Function
ph_pairing
(child)
tests/task.py:55
↓ 4 callers
Method
process_key
( self, key: Key, is_pressed: bool, int_coord: Optional[int] = None )
kmk/kmk_keyboard.py:212
↓ 4 callers
Method
process_key
(self, keyboard, key, is_pressed, int_coord)
kmk/modules/sticky_mod.py:29
↓ 4 callers
Method
send
(self, message)
kmk/modules/midi.py:106
↓ 4 callers
Method
send_key_buffer
(self, keyboard)
kmk/modules/holdtap.py:226
↓ 4 callers
Method
set_hsv_fill
Takes HSV values and displays it on all LEDs/Neopixels :param hue: :param sat: :param val:
kmk/extensions/rgb.py:230
↓ 4 callers
Method
start_advertising
(self)
kmk/hid.py:371
↓ 3 callers
Function
Delay
(delay)
kmk/modules/macros.py:47
↓ 3 callers
Method
_main_loop
(self)
kmk/kmk_keyboard.py:483
↓ 3 callers
Method
activate
(self, keyboard, combo)
kmk/modules/combos.py:301
↓ 3 callers
Method
add_key
(self, key)
kmk/hid.py:105
↓ 3 callers
Method
character_is_at_current_index
Returns True if the given character is the next character in the phrase
kmk/modules/string_substitution.py:79
↓ 3 callers
Method
deactivate
(self, keyboard, combo)
kmk/modules/combos.py:307
↓ 3 callers
Method
deactivate_layer
(self, keyboard, layer)
kmk/modules/layers.py:154
↓ 3 callers
Method
discard_timeout
(self, keyboard)
kmk/modules/capsword.py:87
↓ 3 callers
Method
do_main_loop
(self)
tests/keyboard_test.py:151
↓ 3 callers
Method
enable
(self, keyboard)
kmk/extensions/__init__.py:8
↓ 3 callers
Method
get_state
(self)
kmk/modules/encoder.py:239
↓ 3 callers
Function
hsv_to_rgb
Converts HSV values, and returns a tuple of RGB values :param hue: :param sat: :param val: :return: (r, g, b)
kmk/extensions/rgb.py:14
↓ 3 callers
Method
ht_activate_hold
(self, key, keyboard, *args, **kwargs)
kmk/modules/holdtap.py:238
↓ 3 callers
Method
ht_deactivate_hold
(self, key, keyboard, *args, **kwargs)
kmk/modules/holdtap.py:243
↓ 3 callers
Method
off
Turns off all LEDs/Neopixels without changing stored values
kmk/extensions/rgb.py:367
↓ 3 callers
Method
on_button_do
(self, keyboard, encoder_id, state)
kmk/modules/encoder.py:303
↓ 3 callers
Method
on_release
(self, keyboard: Keyboard, coord_int: Optional[int] = None)
kmk/keys.py:450
↓ 3 callers
Function
ph_meld
(h1, h2)
tests/task.py:30
↓ 3 callers
Method
process_macro_async
(self, keyboard, key, _iter=None)
kmk/modules/macros.py:242
↓ 3 callers
Method
process_timeout
(self)
kmk/modules/capsword.py:76
↓ 3 callers
Method
readinto
(self, buf)
kmk/transports/pio_uart.py:92
↓ 3 callers
Method
reset_index
Reset the index to the start of the phrase
kmk/modules/string_substitution.py:71
next →
1–100 of 1,183, ranked by callers