qmk/quantum
tucvbif 703f027717
Allow for removal of hysteresis on 4x encoders (#13698)
* Remove hysteresis on 4x encoders

Sometimes, controller skips encoder pulses and when it returns to default position, the encoder_pulses variable isn't equals 0. And when I turn encoder in opposite direciton, it skips first click becase of encoder_pulses crosses zero. To prevent this, I add the ENCODER_DEFAULT_POS constant, and reset encoder_pulses into 0 when the state variable equals ENCODER_DEFAULT_POS.

* Documentation for ENCODER_DEFAULT_POS
2021-08-18 09:40:00 +10:00
..
api
audio
backlight
bootmagic
debounce
keymap_extras
led_matrix
logging
process_keycode Add a toggle key for GUI On/Off in Magic feature (#13830) 2021-08-18 08:47:50 +10:00
rgb_matrix
rgblight
sequencer
serial_link
split_common
template
tools
visualizer
action.c Migrate platform independent code from tmk_core -> quantum (#13673) 2021-08-18 00:18:58 +01:00
action.h Migrate platform independent code from tmk_core -> quantum (#13673) 2021-08-18 00:18:58 +01:00
action_code.h Migrate platform independent code from tmk_core -> quantum (#13673) 2021-08-18 00:18:58 +01:00
action_layer.c Migrate platform independent code from tmk_core -> quantum (#13673) 2021-08-18 00:18:58 +01:00
action_layer.h Migrate platform independent code from tmk_core -> quantum (#13673) 2021-08-18 00:18:58 +01:00
action_macro.c Migrate platform independent code from tmk_core -> quantum (#13673) 2021-08-18 00:18:58 +01:00
action_macro.h Migrate platform independent code from tmk_core -> quantum (#13673) 2021-08-18 00:18:58 +01:00
action_tapping.c Migrate platform independent code from tmk_core -> quantum (#13673) 2021-08-18 00:18:58 +01:00
action_tapping.h Migrate platform independent code from tmk_core -> quantum (#13673) 2021-08-18 00:18:58 +01:00
action_util.c Migrate platform independent code from tmk_core -> quantum (#13673) 2021-08-18 00:18:58 +01:00
action_util.h Migrate platform independent code from tmk_core -> quantum (#13673) 2021-08-18 00:18:58 +01:00
api.c
api.h
bitwise.c
bitwise.h
color.c
color.h
command.c
command.h
config_common.h
crc.c
crc.h
debounce.h
digitizer.c Digitizer HID interface : absolute coordinates for mouse cursor (#12851) 2021-08-18 04:52:44 +10:00
digitizer.h Digitizer HID interface : absolute coordinates for mouse cursor (#12851) 2021-08-18 04:52:44 +10:00
dip_switch.c
dip_switch.h
dynamic_keymap.c
dynamic_keymap.h
dynamic_macro.h
eeconfig.c Migrate platform independent code from tmk_core -> quantum (#13673) 2021-08-18 00:18:58 +01:00
eeconfig.h Migrate platform independent code from tmk_core -> quantum (#13673) 2021-08-18 00:18:58 +01:00
encoder.c Allow for removal of hysteresis on 4x encoders (#13698) 2021-08-18 09:40:00 +10:00
encoder.h
haptic.c
haptic.h
joystick.c
joystick.h
keyboard.c Migrate platform independent code from tmk_core -> quantum (#13673) 2021-08-18 00:18:58 +01:00
keyboard.h Migrate platform independent code from tmk_core -> quantum (#13673) 2021-08-18 00:18:58 +01:00
keycode.h Migrate platform independent code from tmk_core -> quantum (#13673) 2021-08-18 00:18:58 +01:00
keycode_config.c
keycode_config.h
keymap.h
keymap_common.c
led.c
led.h
led_tables.c
led_tables.h
main.c Begin to carve out platform/protocol API - Single main loop (#13843) 2021-08-18 00:11:07 +01:00
matrix.c
matrix.h
matrix_common.c
mcu_selection.mk
mousekey.c
mousekey.h
pointing_device.c
pointing_device.h
quantum.c
quantum.h
quantum_keycodes.h Add a toggle key for GUI On/Off in Magic feature (#13830) 2021-08-18 08:47:50 +10:00
ring_buffer.h
send_string.c
send_string.h
send_string_keycodes.h
util.h
variable_trace.c
variable_trace.h
velocikey.c
velocikey.h
via.c
via.h Migrate platform independent code from tmk_core -> quantum (#13673) 2021-08-18 00:18:58 +01:00
via_ensure_keycode.h
wpm.c
wpm.h