Commit Graph

1324 Commits

Author SHA1 Message Date
Ilya Zhuravlev
e2447a0eea vial/encoders: replace 254 magic with a constant 2021-01-03 09:12:16 -05:00
Ilya Zhuravlev
32984ea0c9 Merge branch 'vfw' into vial 2021-01-01 05:02:34 -05:00
Ilya Zhuravlev
edb24a5bd4 dynamic_keymap: add bounds check to dynamic_keymap_get/set_keycode 2021-01-01 04:58:02 -05:00
Ilya Zhuravlev
276d4be495 via: fix compile when vial is not enabled 2020-12-29 19:42:07 -05:00
Ilya Zhuravlev
377af7bcfc vial/lock: flip around the lock/unlock logic 2020-12-29 19:30:29 -05:00
Ilya Zhuravlev
b0a3e0d0af vial: support VIAL_INSECURE define 2020-12-29 19:26:09 -05:00
Ilya Zhuravlev
cc59ab21c5 via/vial: kill all rawhid handling while unlocking 2020-12-29 15:36:12 -05:00
Ilya Zhuravlev
f4dcedc687 vial: add asserts to ensure keycodes don't shift around 2020-12-29 15:17:04 -05:00
Ilya Zhuravlev
1b670b3fea vial: allow re-locking keyboard 2020-12-29 15:02:02 -05:00
Ilya Zhuravlev
0fd15c51f3 vial/unlock: specify keys to hold 2020-12-29 14:46:02 -05:00
Ilya Zhuravlev
6716b76f6c vial: add security-related features 2020-12-27 08:03:10 -05:00
Ilya Zhuravlev
6d9ad020fc Revert "vial: implement fast batch keymap retrieval"
This reverts commit 5375670000.
2020-12-26 20:15:46 -05:00
Ilya Zhuravlev
a9ccf9aa92 vial/encoders: use action_exec hack to support any keycode 2020-12-25 15:26:14 -05:00
Ilya Zhuravlev
dcf794eb9f via: ensure correct buffer size is passed in 2020-12-25 14:29:04 -05:00
Ilya Zhuravlev
5375670000 vial: implement fast batch keymap retrieval 2020-12-21 02:31:10 -05:00
Ilya Zhuravlev
21bd0cdda0 vial: use more entropy for determining whether to reset eeprom 2020-12-19 21:51:11 -05:00
Ilya Zhuravlev
10e15c09a4 vial: initial encoder support 2020-12-18 22:35:41 -05:00
Ilya Zhuravlev
71280fe884 vial: properly use memcpy_P for retrieving keyboard definition 2020-12-17 05:29:50 -05:00
Ilya Zhuravlev
0cb8088cc4 vial: explicitly define VIAL_PROTOCOL_VERSION as 32-bit 2020-11-20 16:32:06 -05:00
Ilya Zhuravlev
2a9405a5a8 vial: support retrieving keyboard ID and protocol version 2020-10-18 14:36:45 -04:00
Ilya Zhuravlev
9791507fae vial initial 2020-10-14 22:14:00 -04:00
Ryan
6c78f80fa1
Partial fix for sendstring_french.h () 2020-10-13 03:17:11 +11:00
a_p_u_r_o
bc79e51990
Fix issue introduced by PR#10404 () 2020-10-07 13:30:43 +11:00
3araht
2bcac45650
Fix for MIDI sustain effect issue () 2020-10-04 14:32:24 -07:00
QMK Bot
c8cff1489a format code according to conventions [skip ci] 2020-10-04 20:54:31 +00:00
Drashna Jaelre
c4f910b1b3
Merge pull request from cmdremily/opendeck-core
Allow the use of only one IS31FL3731 LED driver
2020-10-04 13:05:26 -07:00
sol
01d2a03258
Fix SPLIT_KEYBOARD compilation for ATMega*U2, which doesn't have VBUS/OTG control ()
Co-authored-by: s-ol <s-ol@users.noreply.github.com>
2020-10-02 04:17:03 +10:00
Ryan
70fce6564f
Add logic for AT90USBxx7 where needed () 2020-09-27 20:33:03 +10:00
Ryan
c16ee22784
setrgb(): Use arrow operator () 2020-09-26 19:42:40 +01:00
Ryan
b6f9ca3b09
Fix Belgian sendstring properly () 2020-09-26 14:14:34 +10:00
Drashna Jaelre
9570b1bbb4
Fix Belgian sendstring file ()
Specifically, the `BE_CIRC` is an alt-ed keycode, which means it 
doesn't fit into the 8 bit keycode range...  It should be `BE_SECT`,
as it is already alt-ed by the alt lut.

Confirmed that this change fixes compilation warnings and works 
correctly, on reddit. 
https://www.reddit.com/r/olkb/comments/iywin1/unsigned_conversion_from_int_to_unsigned_char/g6jvfgl/
2020-09-26 05:34:38 +10:00
cmdremily
ef7c79b781 Fix issues with unused variables and functions preventing a clean compile. 2020-09-23 14:15:25 +02:00
cmdremily
8711dda0d3 Allow the use of a single IS31FL3731 LED driver 2020-09-23 14:15:25 +02:00
Wilba
bc7a745227
Fix typo in via.c () 2020-09-21 04:21:19 -07:00
Ryan
0140baf7e0
Add STM32F401/F411 to mcu_selection.mk ()
* Reorder STM32 MCUs

* Add STM32F4xx to mcu_selection.mk

* Set MCU for phoenix and tkw/stoutgat/v2/f411
2020-09-18 20:00:18 -07:00
Xelus22
97122d203b
[Core] DYNAMIC_KEYMAP_EEPROM_MAX_ADDR check ()
* add error check

* remove quotes

* update error message

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

Co-authored-by: Ryan <fauxpark@gmail.com>
2020-09-16 16:16:01 +10:00
Purdea Andrei
f7ccbfcea8
quantum/debounce: rename debouncing algorithms ()
* quantum/debounce: rename debouncing algorithms according to Issue 8763

This is the second attempt at implementation, with no ts_ and cy_ prefixes, since those will be implemented with macros.

* Debouncing documentation: Refactor, add some generic info, and merge into a single document
2020-09-06 13:13:49 -07:00
Olivier Li
9bca381b98
Unflip < and > for canadian mutlilingual ()
Co-authored-by: Olivier Li <olivierli@google.com>
2020-09-06 09:51:38 +10:00
Félix Sanz
69804bb243
Fixed Spanish keymap extra ES_DIAE symbol ()
* Fixed Spanish keymap extra ES_DIAE symbol

`ES_DIAE` should be `S(ES_ACUT)` not `S(ES_GRV)`

* Update quantum/keymap_extras/keymap_spanish.h

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

Co-authored-by: Ryan <fauxpark@gmail.com>
2020-09-01 08:23:31 +10:00
QMK Bot
a3db72df72 format code according to conventions [skip ci] 2020-08-29 22:57:48 +00:00
Ryan
629cfc7f5e K-Type refactor ()
* K-Type refactor

* Declare QMK in product name again

* Hopefully fix matrix scanning

* Maybe this time

* Partial (literally) RGB Matrix support

* Put RGB_MATRIX_ENABLE into rgb keymap for now

* Add ifdefs for RGB config

* Set layer 1 to actually be layer 1...

* Update keyboards/k_type/readme.md

* Put all RGB config in keymap for now

* Set SDB high?

* Before `rgb_matrix_init()` would be best

* User level, not keyboard

* Combating dropped keys

* Nope

* Readme for RGB keymap

* Remove custom matrix
2020-08-29 14:30:02 -07:00
Ryan
b89b2030af Kiibohd bootloader, take 2 () 2020-08-29 14:30:02 -07:00
Joel Challis
15b5ff1dc2 Remove f072 backlight warning ()
* Remove f072 backlight warning

* Remove f072 backlight warning from docs
2020-08-29 14:30:02 -07:00
Joel Challis
21a00b7f02 ARM backlight - timer implementation ()
* Add GPT timer based backlight driver

* Update to tim15 to avoid conflict with audio

* Update quantum/backlight/backlight_timer.c
2020-08-29 14:30:02 -07:00
Greg Wright
568cae28ec #define AUTO_SHIFT_SETUP ()
* #define AUTO_SHIFT_SETUP

* Clarification

Changed `#ifndef` to `#ifdef` and moved enable disable outside AUTO_SHIFT_SETUP

* AUTO_SHIFT_NO_SETUp
2020-08-29 14:30:02 -07:00
David Kosorin
dba8148764 Fix Czech keycodes () 2020-08-29 14:30:02 -07:00
Tynan Beatty
e34eca361f Noeeprom functions for rgb_matrix ()
* Add eeprom_helpers for toggle, mode, sethsv, speed; add set_speed; add noeeprom versions of toggle, step, hue, sat, val, and speed

* qmk cformat rgb_matrix

* Add rgb_matrix_set_speed and *_noeeprom functions

* Do not expose rgb_matrix_*_eeprom_helper functions
2020-08-29 14:30:02 -07:00
Nick Brassel
c990dc1e6c Add support for hsv->rgb conversion without using CIE curve. ()
* Add support for hsv->rgb conversion without using CIE curve.

* Modify anavi/macropad8 to disable unicode (was unused), otherwise firmware size is too large.
2020-08-29 14:30:02 -07:00
TerryMathews
4764aa8711 The Key Company project consolidation ()
* Consolidate TKC projects and increase VIA keymap count to 4.

* Updated readme files.

* Removed config.h via limitation of 2 dynamic keymaps

* Reduce dynamic keymaps from 4 to 3 due to EEPROM space limitations.

* Update dynamic_keymap.c

* Restore 4 dynamic keymaps for VIA in TKC projects.

* Update quantum/dynamic_keymap.c
2020-08-29 14:30:02 -07:00
Max Rumpf
4b74f985ec Tweak the Christmas animation effect to be less harsh on the eyes ()
* Tweak the Christmas animation effect to be less harsh on the eyes

* Further improve the tweaked Christmas animation code

- Use constants where it makes sense
- Instead of complicated math, use a static variable to keep track if it's animating from or to red
- Don't use pow (but a simple macro instead)
- Using floating point math is necessary for the fraction in the cubic bezier function to work

* Update docs for the tweaked Christmas animation effect

* Further improve memory usage

- Don't use floats, but 32 bit ints instead (where needed)
- Replace limits.h with constant

* Fix typo
2020-08-29 14:30:02 -07:00