Commit Graph
18411 Commits
Author SHA1 Message Date
Tomasz bla FortunaandTomasz bla Fortuna 8963c3bed0 Let the LED chip settle a bit before waking it from the bootloader. (#42)
At least for one person that helps to reliably get the LEDs working without
disconnecting/reconnecting the power to the board multiple times.

Co-authored-by: Tomasz bla Fortuna <bla@thera.be>
2021-09-12 09:26:42 +02:00
Tomasz bla FortunaandTomasz bla Fortuna f771cb545f Asynchronous, robust serial protocol. (#39)
* bla personal ap2-c18 keymap.

* Bidirectional, asynchronous message-based communication with Shine.

- Requires a matching Shine version.
- Protocol is resiliant to loosing bytes during communication, chips won't lock
  waiting for bytes that aren't coming.
- Chips resynchronize in event of loosing a byte using a AA0D header.

Regressions:
- Key masking/locking doesn't work right now. (did it work before?)
- Not all user keymaps build against it.

* Clang-format + code to ease reducing speed of LED UART.

- Did clang-format --style=file -i on multiple files according to
  coding_conventions_c.md

- Added separate serial speed for IAP boot and Led communication, it's possible
  that reducing this to 9600 helped someone with faulty HW. With this code they
  can do it with simple replacing of a value.

* Main chip can set/clear foreground using a mask mechanism.

- Some preparations for selective colouring.

* Selective mask works - tested on capslock.

- Migrated personal keymaps to new status API.

* Clear the foreground colors to show profile when it's modified.

- Show example of achieving selective caps-lock painting + foreground painting
  for layers.
- annepro2LedMaskSetRow is implemented, but still requires testing.

* Implement the QMK side of led blinking to indicate the command was received.

- This stupidly blinks the key when user presses one of the bluetooth commands
to let the user know that the command was received and forwarded to the BT chip.

- TODO: Row/col key positions are hardcoded and not taken from the keymap.

* Reduce memory footprint.

Applying code review suggestions. Moved msgId to globals - preparing for
transmission without copying payload when no retries are necessary.

Added empty readme.md files - required by QMK lint.

Co-authored-by: Tomasz bla Fortuna <bla@thera.be>
2021-09-12 09:26:38 +02:00
1Conan 1637c81d9c annepro2(bluetooth): add media keys support (#41) 2021-09-12 09:26:28 +02:00
Darkhan 365eb5c4c2 Add new message type for resetting foreground color (#31) 2021-09-12 09:26:28 +02:00
jmarmstrong1207 83d7f9a984 Make default config more like Obins stock default (#30) 2021-09-12 09:26:28 +02:00
jmarmstrong1207 54de886aab Implement QMK's IAP default keybind (#29)
* Add keymap for going into IAP

* switch to default QMK keybind for IAP mode

* implement bluetooth IAP mode
2021-09-12 09:26:27 +02:00
jmarmstrong1207 853388d9dd Add LED documentation (#26)
* add LED documentation

* add LED documentation to other default profiles
2021-09-12 09:26:27 +02:00
Paco 218e35275e Added multiarrow keymap (#19) 2021-09-12 09:26:27 +02:00
Darkhan b63980e0ef Implement reactive lighting effects (#18) 2021-09-12 09:26:27 +02:00
Thomaz Moura fb5829fa31 Include logic to send solid colors as foreground to shine and add sample profiles (#14)
Include the logic to send a solid color from qmk to shine. That solid color will act as a foreground (will override the current profile) until reset (witch will reactivate the current profile).
This functionality depends on changes made for shine as well.

Include 3 new profiles:

    default-full-caps -> same as default, but with the logic of using the red foreground color on caps lock.
    default-layer-indicators -> same as default, but with the logic of red foreground on caps lock, green foreground on FN1 and blue foreground on FN2.
    thomazmoura -> my own profile as a sample of an over-engineered advanced case scenario.
2021-09-12 09:26:27 +02:00
Darkhan ab17a1e3b6 Implement animation speed (#17) 2021-09-12 09:26:27 +02:00
Darkhan c165136021 Improve logic for switching off and on of LEDs (#16) 2021-09-12 09:26:27 +02:00
Darkhan 1a7732f489 Add support for LED intensity (#15) 2021-09-12 09:26:27 +02:00
tech2077 758c541b13 Keyboard annepro2 ble caps lock (#12)
* Move matrix_scan_kb out of board.c to annepro2.c

* add buffer clear after init and caplock polling
2021-09-12 09:26:27 +02:00
Thomaz Moura cf4ca46824 Merge the custom keys enums on annepro2.h (#13) 2021-09-12 09:26:27 +02:00
codetector c179625ad3 [AnnePro2]: update bluetooth connection 2021-09-12 09:26:27 +02:00
codetector e60ea29c16 LED Masking support for Shine
Introduce companion update to ledSetMask and ledClearMask.
In keymap `codetector` there is example of how to map caps_lock
to the caps_lock key light on the keyboard.
2021-09-12 09:26:24 +02:00
tech2077 fffa641adf Cleanup to fix C15 eeprom/spi build errors (#11)
* Cleanup to fix C15 eeprom/spi build errors

* add newline at eof
2021-09-12 09:26:16 +02:00
tech2077 4bbc680a28 Add persistent led support with eeprom (#9)
* adding HT32 support to chibios SPI master driver

* add support for W25X20CL SPI eeprom

* add makefile flag for eeprom feature

* add spi support to keyboard startup and config

* example keymap using eeprom profile loading
2021-09-12 09:26:16 +02:00
jcdeA cab0772352 switch to prev profile before turning leds off 2021-09-12 09:26:16 +02:00
jcdeA 39d5a42012 Optimize code 2021-09-12 09:26:14 +02:00
jcdeA 266edcbc2f add custom keycodes to switch led profiles 2021-09-12 09:26:07 +02:00
tech2077 46c222143b Keyboard annepro2 bidir led comms (#5)
* Added bidirectional shine comms and moved led functionality to new file

* Added bidirectional shine comms and moved led functionality to new file

* Restore original functionality to existing keymaps using new shine commands

* Fix dangling bracketless if statements

* PR cleanup
2021-09-12 09:26:06 +02:00
Codetector ac810bf18a keyboard/annepro2: Bluetooth path 2021-09-12 09:25:52 +02:00
Jakob Gillich db480da9aa Fix keymap comment
FN1 ESC was listed as ~ instead of `
2021-09-12 09:25:27 +02:00
Codetector 7b3726e917 keyboard/annepro2 BLE Support 2021-09-12 09:25:25 +02:00
QMK Bot bb841087bb Merge remote-tracking branch 'origin/master' into develop 2021-09-12 07:08:53 +00:00
umi 10362777a5 update compatible_microcontrollers.md translation (#14401) 2021-09-12 16:08:22 +09:00
QMK Bot b4588857ac Merge remote-tracking branch 'origin/master' into develop 2021-09-12 06:21:59 +00:00
Xelus22 5ae2ae8a36 [Bug] Keymap Fixes - lyra and reviung39 (#14400) 2021-09-11 23:21:56 -07:00
Drashna JaelreandRyan f6a67c10bd [Keyboard] Fix Redox Media compilation errors (#14345)
Co-authored-by: Ryan <fauxpark@gmail.com>
2021-09-11 23:21:28 -07:00
QMK Bot bda8924795 Merge remote-tracking branch 'origin/master' into develop 2021-09-12 05:28:01 +00:00
Ryan 5af1799735 Remove BLUETOOTH_ENABLE from keyboard-level rules.mk (#14379) 2021-09-12 15:27:29 +10:00
fauxpark 1895151a9c Merge remote-tracking branch 'upstream/master' into develop 2021-09-12 14:10:26 +10:00
Ryan 4791cfae1a Remove width, height and key_count from info.json (#14274) 2021-09-12 14:04:56 +10:00
Nick Brassel d0ac03ec8b Remove unreferenced IBM4704, Sony NEWS, NeXT keyboard code. (#14380) 2021-09-12 02:46:39 +01:00
QMK Bot cf68c6403c Merge remote-tracking branch 'origin/master' into develop 2021-09-11 21:38:12 +00:00
X-Bows Tech f1084712d7 [Keyboard] Update lighting effects for xbows ranger keyboard (#14318) 2021-09-11 14:37:43 -07:00
QMK Bot 0498f3b519 Merge remote-tracking branch 'origin/master' into develop 2021-09-11 21:37:32 +00:00
85b052bdd4 [Keyboard] add support for Bobpad (#13989)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2021-09-11 14:36:58 -07:00
QMK Bot 0a57d55eeb Merge remote-tracking branch 'origin/master' into develop 2021-09-11 14:34:19 +00:00
22dd68520b [Keyboard] Add 3keyecosystem and 2key2 keyboard (#14023)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2021-09-11 07:33:48 -07:00
QMK Bot 52b017b593 Merge remote-tracking branch 'origin/master' into develop 2021-09-11 14:33:43 +00:00
99d465bee0 [keyboard] Add hotswap YMDK Wings (#14176)
* Add files via upload

* Update keyboards/ymdk/wingshs/readme.md

Co-authored-by: Joel Challis <git@zvecr.com>

* Delete wingshs.json

* Update keyboards/ymdk/wingshs/config.h

Co-authored-by: Drashna Jaelre <drashna@live.com>

* Update keyboards/ymdk/wingshs/rules.mk

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update keyboards/ymdk/wingshs/info.json

Co-authored-by: Ryan <fauxpark@gmail.com>

Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2021-09-11 07:33:13 -07:00
QMK Bot 3540d374fc Merge remote-tracking branch 'origin/master' into develop 2021-09-11 14:31:54 +00:00
5eb500a877 [Keymap] Add john-ezra Kyria Keymap (#14338)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2021-09-11 07:31:24 -07:00
QMK Bot e1540a41b7 Merge remote-tracking branch 'origin/master' into develop 2021-09-11 07:32:58 +00:00
Seth 35bff470f7 [Keyboard] Update rocketboard_16 with *most* of its final features (#12537) 2021-09-11 00:32:29 -07:00
QMK Bot a27df035ee Merge remote-tracking branch 'origin/master' into develop 2021-09-11 06:25:03 +00:00
rhmokeyandDrashna Jaelre 5f94191075 [Keyboard] Add mokey63 (#14357)
Co-authored-by: Drashna Jaelre <drashna@live.com>
2021-09-10 23:24:37 -07:00