Commit Graph
27 Commits
Author SHA1 Message Date
bwisnandNick Brassel 77ada6d94b annepro2: apply suggestions from tzarc's code review
Co-authored-by: Nick Brassel <nick@tzarc.org>
2021-10-18 22:49:54 +02:00
bwisn 1fbaa280e2 annepro2: rename keymap to layout 2021-09-18 08:49:03 +02:00
bwisn e68f6a507f annepro2: apply code review suggestions 2021-09-16 08:28:05 +02:00
bwisn 8ad8264cca AnnePro2: Leave only default keymaps
Missing keymaps will be restored in another PR
2021-09-12 09:36:16 +02:00
bwisn b276ac6845 annepro2: make code compatible with QMK coding conventions 2021-09-12 09:26:48 +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
jmarmstrong1207 83d7f9a984 Make default config more like Obins stock default (#30) 2021-09-12 09:26:28 +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
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 1a7732f489 Add support for LED intensity (#15) 2021-09-12 09:26:27 +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 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
Codetector cb7e23a1c4 keyboard/annepro2: keymap layer name changes 2021-08-29 13:43:28 +02:00
Codetector 77dbcc016f Update default keymap to Anne Pro 2 Official Keymap 2021-08-29 13:43:23 +02:00
codetector 5712e04ec2 keyboard/annepro2: typo fix 2021-08-29 13:43:09 +02:00
codetector bc1c56677c changed to use HSI 2021-08-29 13:41:57 +02:00
codetector c323356ede :( 2021-08-29 13:41:52 +02:00
Codetector 91ae4c7bff [keyboard][AnnePro2] Keymap:update to a reasonable keymap with caps+hjkl => arrow 2021-08-29 13:41:47 +02:00
codetector 4a549dad82 [keyboard] Initial support for Anne Pro 2 2021-08-29 13:41:40 +02:00