MCPcopy Create free account

hub / github.com/KMKfw/kmk_firmware / functions

Functions1,183 in github.com/KMKfw/kmk_firmware

↓ 235 callersMethodtest
(self, testname, key_events, assert_reports)
tests/keyboard_test.py:102
↓ 81 callersMethodgo
(self, hid_type=HIDModes.USB, secondary_hid_type=None, **kwargs)
kmk/kmk_keyboard.py:435
↓ 71 callersFunctionmake_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 callersFunctionMN
(note: str)
user_keymaps/ZFR_KBD/RP2.65-F.py:175
↓ 37 callersFunctionticks_ms
()
tests/mocks.py:12
↓ 31 callersFunctionmake_argumented_key
( names: Tuple[str, ...], constructor: [Key, Callable[[...], Key]], **_kwargs, )
kmk/keys.py:590
↓ 30 callersMethodmove
(self, keyboard: Keyboard, delta: int)
kmk/keys.py:30
↓ 27 callersMethodtest
(self)
tests/test_tapdance.py:15
↓ 26 callersMethodget
(self, name: str, default: Optional[Key] = None)
kmk/keys.py:400
↓ 19 callersFunctiondebug_error
(module, message: str, error: Exception)
kmk/kmk_keyboard.py:23
↓ 19 callersMethodwrite
(self, buf)
kmk/transports/pio_uart.py:80
↓ 17 callersMethodresume_process_key
( self, module: Module, key: Key, is_pressed: bool, int_coord: Optiona
kmk/kmk_keyboard.py:220
↓ 15 callersMethodcancel_timeout
(self, timeout_key: int)
kmk/kmk_keyboard.py:248
↓ 15 callersMethodclear
(self)
kmk/hid.py:77
↓ 14 callersMethod_do_update
(self)
kmk/extensions/rgb.py:432
↓ 14 callersFunctionclamp
(x: int, bottom: int = 0, top: int = 100)
kmk/utils.py:11
↓ 11 callersFunctioncreate_task
( func: [Callable[[None], None], Task, PeriodicTaskMeta], *, after_ms: int = 0, period_ms: int
kmk/scheduler.py:37
↓ 11 callersMethodon_press
(self, keyboard: KMKKeyboard, key: Key, int_coord: Optional[int])
kmk/modules/combos.py:137
↓ 11 callersMethodon_release
(self, keyboard: KMKKeyboard, key: Key, int_coord: Optional[int])
kmk/modules/combos.py:200
↓ 11 callersMethodset_brightness
(self, percent, leds=None)
kmk/extensions/led.py:148
↓ 11 callersMethodtap_key
(self, keycode: Key)
kmk/kmk_keyboard.py:240
↓ 10 callersMethod_send_hid
(self)
kmk/kmk_keyboard.py:79
↓ 10 callersMethod_task_loop
(self, duration)
tests/test_scheduler.py:11
↓ 10 callersMethodadns_read
(self, reg)
kmk/modules/adns9800.py:99
↓ 10 callersFunctionextract_code
(key)
tests/test_string_substitution.py:8
↓ 10 callersMethodget_character_at_index
Returns the character at the given index
kmk/modules/string_substitution.py:63
↓ 10 callersMethodpop
(self)
tests/task.py:130
↓ 10 callersMethodremove
(self, v)
tests/task.py:137
↓ 10 callersMethodset_timeout
(self, keyboard, key)
kmk/modules/sticky_keys.py:97
↓ 10 callersFunctionticks_diff
(new: int, start: int)
kmk/kmktime.py:9
↓ 9 callersMethodnext_character
Increment the current index for this phrase
kmk/modules/string_substitution.py:58
↓ 8 callersMethod_check_update
(self)
kmk/extensions/rgb.py:429
↓ 8 callersMethod_i2c_rdwr
Write and optionally read I2C data.
kmk/modules/pimoroni_trackball.py:268
↓ 8 callersMethod_maybe_start_move
(self, mask)
kmk/modules/mouse_keys.py:94
↓ 8 callersMethod_maybe_stop_move
(self, mask)
kmk/modules/mouse_keys.py:99
↓ 8 callersFunctioncancel_task
(t: [Task, PeriodicTaskMeta])
kmk/scheduler.py:72
↓ 8 callersMethodpre_process_key
( self, key: Key, is_pressed: bool, int_coord: Optional[int] = None, i
kmk/kmk_keyboard.py:187
↓ 8 callersMethodrestart
Resets this rule's to_substitute and substitution phrases
kmk/modules/string_substitution.py:91
↓ 8 callersMethodsleep
(self)
kmk/extensions/display/__init__.py:85
↓ 7 callersMethod__init__
(self, size)
kmk/hid.py:73
↓ 7 callersMethodadns_write
(self, reg, data)
kmk/modules/adns9800.py:88
↓ 7 callersFunctioncheck_deadline
(new: int, start: int, ms: int)
kmk/kmktime.py:19
↓ 7 callersMethodpush
(self, v, key=None)
tests/task.py:123
↓ 7 callersMethodreset
(self)
kmk/modules/combos.py:70
↓ 7 callersMethodset_brightness
(self, percent, layer_id=-1)
kmk/extensions/statusled.py:116
↓ 7 callersMethodshow
Turns on all LEDs/Neopixels without changing stored values
kmk/extensions/rgb.py:375
↓ 7 callersMethodupdate
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 callersFunctionTap
(key)
kmk/modules/macros.py:59
↓ 6 callersMethodactivate_layer
(self, keyboard, layer, idx=None)
kmk/modules/layers.py:143
↓ 6 callersMethodcount_matching
(self)
kmk/modules/combos.py:325
↓ 6 callersMethodindex_at_end
Returns True if the index is at the end of the phrase
kmk/modules/string_substitution.py:75
↓ 6 callersMethodinsert
(self, key: Key, int_coord: int)
kmk/modules/combos.py:64
↓ 6 callersMethodreset_combo
(self, keyboard, combo)
kmk/modules/combos.py:313
↓ 5 callersMethoddeactivate
(self, keyboard, key)
kmk/modules/sticky_keys.py:146
↓ 5 callersMethodget_value
(self)
kmk/modules/encoder.py:169
↓ 5 callersMethodht_activate_tap
(self, key, keyboard, *args, **kwargs)
kmk/modules/holdtap.py:248
↓ 5 callersMethodht_deactivate_tap
(self, key, keyboard, *args, **kwargs)
kmk/modules/holdtap.py:253
↓ 5 callersMethodread
(self, n)
kmk/transports/pio_uart.py:87
↓ 5 callersMethodremove_key
(self, key)
kmk/hid.py:113
↓ 5 callersMethodreset
(self, keyboard)
kmk/modules/combos.py:320
↓ 5 callersMethodsend_key_buffer
(self, keyboard)
kmk/modules/combos.py:297
↓ 4 callersFunctionPress
(key)
kmk/modules/macros.py:51
↓ 4 callersFunctionRelease
(key)
kmk/modules/macros.py:55
↓ 4 callersMethod_stop_sequence
(self, key, keyboard, *args, **kwargs)
kmk/modules/dynamic_sequences.py:100
↓ 4 callersMethodadns_start
(self)
kmk/modules/adns9800.py:82
↓ 4 callersMethodadns_stop
(self)
kmk/modules/adns9800.py:85
↓ 4 callersFunctionensure_DIO
(x)
kmk/scanners/digitalio.py:8
↓ 4 callersFunctionfind_device
(devices, usage_page, usage)
kmk/hid.py:62
↓ 4 callersMethodget_character_at_current_index
Returns the character at the current index for this phrase
kmk/modules/string_substitution.py:67
↓ 4 callersMethodincrease_hue
Increases hue by step amount rolling at 256 and returning to 0 :param step:
kmk/extensions/rgb.py:266
↓ 4 callersMethodon_move_do
(self, keyboard, encoder_id, state)
kmk/modules/encoder.py:292
↓ 4 callersFunctionph_pairing
(child)
tests/task.py:55
↓ 4 callersMethodprocess_key
( self, key: Key, is_pressed: bool, int_coord: Optional[int] = None )
kmk/kmk_keyboard.py:212
↓ 4 callersMethodprocess_key
(self, keyboard, key, is_pressed, int_coord)
kmk/modules/sticky_mod.py:29
↓ 4 callersMethodsend
(self, message)
kmk/modules/midi.py:106
↓ 4 callersMethodsend_key_buffer
(self, keyboard)
kmk/modules/holdtap.py:226
↓ 4 callersMethodset_hsv_fill
Takes HSV values and displays it on all LEDs/Neopixels :param hue: :param sat: :param val:
kmk/extensions/rgb.py:230
↓ 4 callersMethodstart_advertising
(self)
kmk/hid.py:371
↓ 3 callersFunctionDelay
(delay)
kmk/modules/macros.py:47
↓ 3 callersMethod_main_loop
(self)
kmk/kmk_keyboard.py:483
↓ 3 callersMethodactivate
(self, keyboard, combo)
kmk/modules/combos.py:301
↓ 3 callersMethodadd_key
(self, key)
kmk/hid.py:105
↓ 3 callersMethodcharacter_is_at_current_index
Returns True if the given character is the next character in the phrase
kmk/modules/string_substitution.py:79
↓ 3 callersMethoddeactivate
(self, keyboard, combo)
kmk/modules/combos.py:307
↓ 3 callersMethoddeactivate_layer
(self, keyboard, layer)
kmk/modules/layers.py:154
↓ 3 callersMethoddiscard_timeout
(self, keyboard)
kmk/modules/capsword.py:87
↓ 3 callersMethoddo_main_loop
(self)
tests/keyboard_test.py:151
↓ 3 callersMethodenable
(self, keyboard)
kmk/extensions/__init__.py:8
↓ 3 callersMethodget_state
(self)
kmk/modules/encoder.py:239
↓ 3 callersFunctionhsv_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 callersMethodht_activate_hold
(self, key, keyboard, *args, **kwargs)
kmk/modules/holdtap.py:238
↓ 3 callersMethodht_deactivate_hold
(self, key, keyboard, *args, **kwargs)
kmk/modules/holdtap.py:243
↓ 3 callersMethodoff
Turns off all LEDs/Neopixels without changing stored values
kmk/extensions/rgb.py:367
↓ 3 callersMethodon_button_do
(self, keyboard, encoder_id, state)
kmk/modules/encoder.py:303
↓ 3 callersMethodon_release
(self, keyboard: Keyboard, coord_int: Optional[int] = None)
kmk/keys.py:450
↓ 3 callersFunctionph_meld
(h1, h2)
tests/task.py:30
↓ 3 callersMethodprocess_macro_async
(self, keyboard, key, _iter=None)
kmk/modules/macros.py:242
↓ 3 callersMethodprocess_timeout
(self)
kmk/modules/capsword.py:76
↓ 3 callersMethodreadinto
(self, buf)
kmk/transports/pio_uart.py:92
↓ 3 callersMethodreset_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