qmk_firmware/quantum
Drashna Jaelre 5701b75e3c Custom Tapping Term per key (#5009)
* Add customizable tapping terms

* Add Documentation

* Fix function

* Fixes

* It's not a pointer

* Add debugging output

* Update documentation to be at least vaguely accurate

* Use `get_tapping_term(tapping_key.event)` instead

`e` doesn't include column and row information, properly. It registers as 255, regardless of the actual keypress.

However `tapping_key.event` actually gives the correct column and row information.  It appears be the correct structure to use. 

In fact, it looks like the issue is that `e` is actually the "TICK" structure, as defined in keyboard.h

* Use variable tapping term value rather than define

* Silly drashna - tapping_key.event, not event

* add get_event_keycode() function

* Fix typo

Co-Authored-By: drashna <drashna@live.com>

* Remove post_process_record_quantum since it's the wrong PR

* Update quantum/quantum.c

Co-Authored-By: drashna <drashna@live.com>

* Better handle ifdef statement for permissive hold

Since we can't be sure that tapping term is actually 500

* Update quantum.c comments based on feedback

* Clean up get_tapping_term function

Clean up function so that users don't need to call the event function, and instead only check the keycode

* Add ability to run functionality on and off

* Make ifdef's more compact
2019-04-05 15:47:25 -04:00
..
api
audio Added some new songs (#5525) 2019-04-02 11:51:28 -07:00
debounce Eager Per Row Debouncing added (added to Ergodox) (#5498) 2019-04-03 14:45:55 -07:00
keymap_extras Add UK variant of the SEND_STRING() LUTs 2019-02-18 08:47:31 -08:00
process_keycode Unicode fix for new wincompose version (#5082) 2019-03-17 10:35:14 -07:00
rgb_matrix_animations RGB Matrix Overhaul (#5372) 2019-04-02 17:24:14 -07:00
serial_link
split_common Added encoder support to split common code (#5477) 2019-04-03 16:01:17 -07:00
stm32 Adds Proton C Conversion (#4661) 2019-01-10 08:22:57 -08:00
template Update ps2avrgb template to use standard matrix/i2c code (#4957) 2019-04-05 09:20:43 -07:00
tools
visualizer Fixing dead links (#5503) 2019-03-29 06:20:25 -07:00
api.c rgblight split transfer non-eeprom config (#5396) 2019-03-15 13:46:49 -07:00
api.h
color.c RGB Matrix Overhaul (#5372) 2019-04-02 17:24:14 -07:00
color.h
config_common.h Add new keyboard Plaid and ATMEGA328p support (#5379) 2019-03-12 11:48:17 -07:00
debounce.h Removed #include "matrix.h" from debounce.h 2019-01-26 22:44:33 +11:00
dynamic_keymap.c Added macros to Dynamic Keymaps, Zeal60 RGB backlight improvements (#4520) 2018-11-30 08:43:34 -08:00
dynamic_keymap.h Added macros to Dynamic Keymaps, Zeal60 RGB backlight improvements (#4520) 2018-11-30 08:43:34 -08:00
dynamic_macro.h
encoder.c Added encoder support to split common code (#5477) 2019-04-03 16:01:17 -07:00
encoder.h Added encoder support to split common code (#5477) 2019-04-03 16:01:17 -07:00
fauxclicky.c
fauxclicky.h
keycode_config.c
keycode_config.h
keymap.h
keymap_common.c Next set of split_common changes (#4974) 2019-03-12 10:23:28 -07:00
led_matrix.c fix the led_matrix.h naming conflict 2019-02-10 15:37:12 -08:00
led_matrix_drivers.c fix the led_matrix.h naming conflict 2019-02-10 15:37:12 -08:00
led_tables.c
led_tables.h
ledmatrix.h fix the led_matrix.h naming conflict 2019-02-10 15:37:12 -08:00
matrix.c Debounce refactor / API (#3720) 2019-02-14 20:36:20 -08:00
mcu_selection.mk Adds Proton C Conversion (#4661) 2019-01-10 08:22:57 -08:00
pincontrol.h
pointing_device.c
pointing_device.h
quantum.c Custom Tapping Term per key (#5009) 2019-04-05 15:47:25 -04:00
quantum.h Custom Tapping Term per key (#5009) 2019-04-05 15:47:25 -04:00
quantum_keycodes.h Fix indentation in quantum_keycodes.h (#5221) 2019-02-24 15:21:09 -08:00
rgb.h
rgb_matrix.c RGB Matrix support for Massdrop CTRL/ALT (#5328) 2019-04-03 18:30:47 -07:00
rgb_matrix.h RGB Matrix Overhaul (#5372) 2019-04-02 17:24:14 -07:00
rgb_matrix_drivers.c
rgb_matrix_types.h RGB Matrix support for Massdrop CTRL/ALT (#5328) 2019-04-03 18:30:47 -07:00
rgblight.c Add support for RGB LEDs wired directly to each half's controller (#5392) 2019-03-23 17:20:14 -07:00
rgblight.h Add support for RGB LEDs wired directly to each half's controller (#5392) 2019-03-23 17:20:14 -07:00
rgblight_list.h
rgblight_reconfig.h
rgblight_types.h
send_string_keycodes.h
variable_trace.c
variable_trace.h
velocikey.c Velocikey: Match RGB animation speed to typing speed (#3754) 2019-02-21 07:22:46 -08:00
velocikey.h Velocikey: Match RGB animation speed to typing speed (#3754) 2019-02-21 07:22:46 -08:00