Commit Graph

1080 Commits

Author SHA1 Message Date
Luke D Russell
f62d32157a Reimplemented as a util script with std lib only.
Reimplemented as a util script with std lib only.

Decision to add dependencies moved elsewhere. This script should be able to stand alone.

Add some docu on how to use compile.py
2022-08-31 18:16:49 -07:00
Luke D Russell
b4363c73a7 Shrink ./kmk/ with nox & mpy-cross.
Shrink ./kmk/ with `nox` & `mpy-cross`.

The nice!nano CircuitPython doesn't leave enough storage for an
uncompiled ./kmk/ folder, with main.py and Bluetooth libraries.

This introduces a soft dependancy to kmk on `nox`, as a OS-agnostic
alternative to `make`. Bonus is the use of native python to describe
steps / options / sessions.
2022-08-31 18:16:49 -07:00
Kyle Brown
6d6ccbc240 Move keymap to proper spot 2022-08-17 12:04:37 -07:00
Matthew Hendrix
838263d409 Add report_updated check 2022-08-16 16:31:26 -07:00
Matthew Hendrix
bca11489d0 Update Pico87 to handle Lock Status better 2022-08-16 16:31:26 -07:00
Hendrix
6d255a24f5 Add Pico87 board 2022-08-16 16:31:26 -07:00
Leon Anavi
47601b730a boards/anavi/macro-pad-10: Set to COL2ROW
Set diode orientation to COL2ROW as per the latest hardware
revision of ANAVI Macro Pad 10.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2022-08-16 16:29:59 -07:00
Yoichiro Tanaka
5e7738fe87 Fix the issue reported by isort. 2022-08-14 07:43:52 +00:00
Yoichiro Tanaka
5fcce6785c Fix the issue which the media keys cannot be loaded. 2022-08-14 07:43:52 +00: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
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