xs5871
46cf7030a1
update and add docs to serialace
2022-08-31 18:25:07 -07:00
xs5871
737973c334
implement arbitrary code execution (ACE) over data serial.
2022-08-31 18:25:07 -07:00
xs5871
aee793a300
missed some pre_process
to resume_process
conversions
2022-08-31 18:22:52 -07:00
xs5871
ea94e9ba19
fix dependence on optional int_coord
2022-08-31 18:22:52 -07:00
xs5871
57c61ced85
add type hints to KMKKeyboard.resume_process_key
2022-08-31 18:22:52 -07:00
xs5871
c95efbe8ea
refactor handling of key processing resume to KMKKeyboard
2022-08-31 18:22:52 -07:00
xs5871
e71d1fcb6e
fix crash on failing look-up
2022-08-31 18:22:52 -07:00
xs5871
9d555209b8
add continue-with-module-nr-idx to key processing
2022-08-31 18:22:52 -07:00
Hendrix
34f4264362
Add code review suggestions
2022-08-10 17:12:12 +00:00
Matthew Hendrix
9c7b14e865
Update code to be less fragile
2022-08-10 17:12:12 +00:00
Matthew Hendrix
7f1e7a2708
Remove callback, update docs
2022-08-10 17:12:12 +00:00
Hendrix
ad3c261c1a
fix formatting issue
2022-08-10 17:12:12 +00:00
Hendrix
0b23da551a
Add callback to lock status
2022-08-10 17:12:12 +00:00
xs5871
ad6f4e5f05
fix mouse_keys not working at all
2022-08-05 14:39:57 -07:00
crazyiop
23fd3a9bed
[usb] Allow kb to lost usb connection without getting lost
...
When the usb connection is lost (for example when plugged into a pc that
keep the usb powered when shut down) the kb is lost and need to be
unpluged to be rebooted.
My guess is that the failling `hid_report.send()` change some internal
state that could not recover by itself.
This prevent even trying to send the report when the usb is not
connected. This fix has been tested working on me and another discord
user so far. The result seems consistent even if the test period has not
been very long yet.
2022-08-05 18:35:16 +00:00
xs5871
f0544465c7
remove reference to disfunct KMK_RELEASE.
2022-08-03 20:11:00 +00:00
xs5871
5d2a42d9a9
fix trackball module forcing reports to zero
2022-08-01 16:46:53 -07:00
Salvatore La Bua
3d80e4aba8
Consistent variable naming
...
Signed-off-by: Salvatore La Bua <slabua@gmail.com>
2022-07-31 07:44:22 +00:00
Salvatore La Bua
4c93720a2f
Lintfix (hopefully)
...
Signed-off-by: Salvatore La Bua <slabua@gmail.com>
2022-07-31 07:44:22 +00:00
Salvatore La Bua
cb83df25f0
Lintfix
...
Signed-off-by: Salvatore La Bua <slabua@gmail.com>
2022-07-31 07:44:22 +00:00
Salvatore La Bua
5ba865e4c6
Add ScrollDirection class for the Pimoroni Trackball
...
Signed-off-by: Salvatore La Bua <slabua@gmail.com>
2022-07-31 07:44:22 +00:00
Salvatore La Bua
f674ac6b13
Add reverse scrolling mode to the Pimoroni Trackball module
...
Signed-off-by: Salvatore La Bua <slabua@gmail.com>
2022-07-31 07:44:22 +00:00
kbjunky
a1d8a990f1
Update mouse_keys.py
...
Added check for USB enabled half in case of a split keyboard.
Cleaning of hid_pending state after sending.
2022-07-24 15:19:35 -07:00
xs5871
5a85c6cfb3
move validators and metas to their respective modules
2022-07-24 15:19:20 -07:00
xs5871
e0ca1124fb
cleanup unused coord_raw
2022-07-24 15:19:20 -07:00
xs5871
2a7654f852
cleanup unused KMKKeyboard attributes
...
squash cleanup KMKKeyboard
2022-07-24 15:19:20 -07:00
James Fitzgerald
637991cedc
Make suggested changes
2022-07-24 21:15:20 +00:00
James Fitzgerald
606780ee1c
Remove unnecessary list check
2022-07-24 21:15:20 +00:00
James Fitzgerald
fe6510baec
"not key in" -> "key not in"
2022-07-24 21:15:20 +00:00
James Fitzgerald
74563368c5
Fix key pressed before combo making combo wait for timeout
2022-07-24 21:15:20 +00:00
xs5871
3f3bd93109
implement global debug interface.
2022-07-22 09:21:30 -07:00
xs5871
3f826267b4
remove adafruit_pioasm dependency
2022-07-21 18:26:08 -07:00
xs5871
914f449699
factor out firmware and unicode mode keys
2022-07-21 18:25:43 -07:00
xs5871
84f1b2ae06
cleanup
2022-07-21 18:25:43 -07:00
xs5871
f086a78864
remove another stack frame level
2022-07-21 18:25:43 -07:00
xs5871
47ccd56c30
refactor initial key lookup
...
based on:
639c38d5aa
2022-07-21 18:25:43 -07:00
Steven Karrmann
4d6983da11
Add 'BSPACE' keycode for documentation consistency
2022-07-20 15:36:24 -07:00
James Fitzgerald
d830ff7293
fix typo and formatting again
2022-07-19 16:16:47 -07:00
James Fitzgerald
fd73292da0
Add shorthand
2022-07-19 16:16:47 -07:00
James Fitzgerald
bff8d3d7c5
fix formatting
2022-07-19 16:16:47 -07:00
James Fitzgerald
d584b1f506
Add keycode for software reload
2022-07-19 16:16:47 -07:00
xs5871
ed94ad06da
de-duplicate consumer keys
2022-07-14 16:46:21 -07:00
xs5871
f46e3d59e6
add brightness consumer keys
2022-07-14 16:46:21 -07:00
James Fitzgerald
25a86df5c1
Minor code cleanup
...
* Changed from multiple calls of `keyboard.remove_key` to a for loop when releasing modifiers on match
2022-07-14 10:29:25 +00:00
James Fitzgerald
8ab67052cf
Rename to String Substitution
2022-07-14 10:29:25 +00:00
James Fitzgerald
521f991f2d
Improve guarding against non-shift modifiers
2022-07-14 10:29:25 +00:00
James Fitzgerald
664a557483
Apply suggestions from code review
...
Co-authored-by: xs5871 <60395129+xs5871@users.noreply.github.com>
2022-07-14 10:29:25 +00:00
James Fitzgerald
50279f88fb
Add keyboard event tests
2022-07-14 10:29:25 +00:00
James Fitzgerald
3db84528f2
Add informative error when illegal character is in user dictionary
2022-07-14 10:29:25 +00:00
James Fitzgerald
ab75b2bca3
Fix wrong quotes
2022-07-14 10:29:25 +00:00