Commit Graph

1167 Commits

Author SHA1 Message Date
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
James Fitzgerald
ed38227276 Fix typo in sticky_mod.md 2022-08-05 10:49:23 -07: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
Leon Anavi
b676afe075 boards/anavi/knobs3: Simplify the source code
Optimize and simplify the source code by using the full potential
of class EncoderHandler.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2022-07-31 07:47:21 +00:00
Leon Anavi
ce0e29b02f boards/anavi/knobs3: Update extensions
Update the list of extensions enabled by default for ANAVI Knobs 3

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2022-07-31 07:47:21 +00:00
Leon Anavi
857c2c1162 boards/anavi/knob1/README.md: Extensions
Update the list of extensions enabled by default.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2022-07-31 07:46:40 +00:00
Leon Anavi
a6825b6a3c boards/anavi/knob1: Simplify the source code
Optimize and simplify the source code by using the full potential
of class EncoderHandler.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2022-07-31 07:46:40 +00:00
Leon Anavi
6d132ba4b4 knob1: Fix name for ANAVI Knob 1
Fix the name of the directory for ANAVI Knob 1 to match the proper
name of the hardware.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2022-07-31 07:46:40 +00:00
Salvatore La Bua
d9b0c9100c Update Pimoroni Trackball doc
Signed-off-by: Salvatore La Bua <slabua@gmail.com>
2022-07-31 07:44:22 +00: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
bfd5e2b262 Minor update to docs/pimoroni_trackball.md
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
xgpt
ecfbca82a6 typo?
is this a typo? I think it's suppose to say same not some
2022-07-30 08:26:33 +00:00
Leon Anavi
2016848cb2 boards/anavi/macro-pad-10/README.md: Add README.md
Add README.md for ANAVI Macro Pad 10.

Signed-off-by: Leon Anavi <leon@anavi.org>
2022-07-30 08:21:07 +00:00
Leon Anavi
fbe593eb80 anavi/macro-pad-10: Add ANAVI Macro Pad 10
Add support for ANAVI Macro Pad 10: an open source programmable
small hot-swappable mechanical keyboard with 9 keys, a rotary
encoder and Seeed XIAO RP2040. This is open source hardware
designed with KiCad.

Signed-off-by: Leon Anavi <leon@anavi.org>
2022-07-30 08:21:07 +00:00
Gleb Sabirzyanov
6c71538aa9 Fix hyperlink 2022-07-26 21:11:42 -07: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
682731bfe1 tests need more delay 2022-07-14 16:46:54 -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
688c2f0572 Change debug_enabled to False 2022-07-14 10:29:25 +00:00
James Fitzgerald
ca719faa29 Rename text_replacement.md to string_substitution.md 2022-07-14 10:29:25 +00:00
James Fitzgerald
c2a3a1895f Add more tests and delay after last key event in tests 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
c49f409fb4 Add testing against suggested test cases 2022-07-14 10:29:25 +00:00