qmk_firmware/tmk_core/common
Purdea Andrei c904520f72
Haptic and solenoid cleanup (#9700)
* solenoid: remove two functions that do nothing.

These functions modify the argument, and so they do nothing.

Note: versions of these functions exist in mtdjr's user folder,
however to core solenoid support and mtdjr user-specific solenoid
support are exclusive (only one can be used at a time).

So removing these confusing functions does no harm.

* solenoid: bugfix: don't allow dwell time to go 1ms below minimum time.

The previous code allowed dwell time to go 1ms below the configured minimum.
This change corrects it.

* solenoid: bugfix: when incrementing above maximum dwell time, jump back to minimum, not to 1

The previous code used to jump back to 1, which might be way under the configured minimum setting.

* solenoid: bugfix: on startup actually use the eeprom-stored dwell-time

This is because the dwell time is stored in two variables.

* solenoid: bugfix: on haptic_reset, actually use the newly set default dwell time.

This is needed because dwell time is configured in two variables.

* solenoid: on HPT_RST set buzz to a default value

* solenoid: buzz: reworked to make more configurable. Previous behaviour maintained.

* solenoid: documentation: clarify meaning of dwell time

* solenoid: add feature SOLENOID_DWELL_STEP_SIZE

* solenoid: documentation: added note about the precision of the solenoid time settings

* haptic: Correctly call haptic_reset when eeprom is corrupt.

* haptic: improve what happens if haptic is enabled without erasing eeprom

* haptic: improve what happens if solenoid is enabled without erasing eeprom

* drivers/haptic: fix compilation issue, when haptic is enabled, but solenoid isn't
2020-10-30 13:15:50 -07:00
..
arm_atsam format code according to conventions [skip ci] 2020-01-24 02:15:29 +00:00
avr adds support for the atmega328 (#9043) 2020-06-10 22:23:11 +01:00
chibios Make bootloader_jump weak for ChibiOS. (#10417) 2020-10-30 13:15:40 -07:00
test Add customisable EEPROM driver selection (#7274) 2020-01-24 12:45:58 +11:00
action.c Share button state from mousekey to pointing_device (#10179) 2020-10-30 13:15:42 -07:00
action.h Better handle LTO_ENABLE (#9832) 2020-08-29 14:30:02 -07:00
action_code.h One shot support for swap hands (#8590) 2020-05-14 07:36:55 +10:00
action_layer.c Optimization for scanning less layers. (#8311) 2020-05-11 01:04:38 +01:00
action_layer.h format code according to conventions [skip ci] 2020-08-29 22:57:48 +00:00
action_macro.c clang-format changes 2019-08-30 15:01:52 -07:00
action_macro.h clang-format changes 2019-08-30 15:01:52 -07:00
action_tapping.c 2020 May 30 Breaking Changes Update (#9215) 2020-05-30 13:14:59 -07:00
action_tapping.h 2020 May 30 Breaking Changes Update (#9215) 2020-05-30 13:14:59 -07:00
action_util.c [Bug] Fix Swap Hands bug introduced by OSH (#9968) 2020-08-08 16:41:10 -07:00
action_util.h One shot support for swap hands (#8590) 2020-05-14 07:36:55 +10:00
bootloader.h clang-format changes 2019-08-30 15:01:52 -07:00
bootmagic.c Initialize Layer State on startup (#8318) 2020-08-29 14:30:02 -07:00
bootmagic.h ARM split - Add bootmagic/magic keycodes for setting handedness (#6545) 2019-09-24 15:24:12 +01:00
bootmagic_lite.c format code according to conventions [skip ci] 2020-03-21 23:44:27 +00:00
command.c Better handle LTO_ENABLE (#9832) 2020-08-29 14:30:02 -07:00
command.h clang-format changes 2019-08-30 15:01:52 -07:00
debug.c clang-format changes 2019-08-30 15:01:52 -07:00
debug.h clang-format changes 2019-08-30 15:01:52 -07:00
eeconfig.c Haptic and solenoid cleanup (#9700) 2020-10-30 13:15:50 -07:00
eeconfig.h VIA Configurator Refactor (#7268) 2020-01-03 12:52:00 -08:00
eeprom.h Add customisable EEPROM driver selection (#7274) 2020-01-24 12:45:58 +11:00
host.c Run clang-format manually to fix recently changed files 2019-11-17 08:25:58 -08:00
host.h New and improved lock LED callbacks (#7215) 2019-11-06 00:42:16 +00:00
host_driver.h clang-format changes 2019-08-30 15:01:52 -07:00
keyboard.c Hid joystick interface (#4226) 2020-08-29 14:30:02 -07:00
keyboard.h clang-format changes 2019-08-30 15:01:52 -07:00
keycode.h Add *OPT aliases for *ALT keycodes and macros (#8714) 2020-04-12 11:37:55 -07:00
led.h Run clang-format manually to fix recently changed files 2019-11-17 08:25:58 -08:00
magic.c Initialize Layer State on startup (#8318) 2020-08-29 14:30:02 -07:00
magic.h MAGIC functionality, AG swap in default layout 2016-04-16 18:51:58 -04:00
matrix.h Remove matrix_col_t to allow MATRIX_ROWS > 32 (#10183) 2020-10-30 13:15:35 -07:00
mousekey.c format code according to conventions [skip ci] 2020-08-29 22:57:48 +00:00
mousekey.h Decouple mouse cursor and mouse wheel in accelerated mode (#6685) 2020-03-13 12:49:44 -04:00
nodebug.h clang-format changes 2019-08-30 15:01:52 -07:00
print.c clang-format changes 2019-08-30 15:01:52 -07:00
print.h 2020 May 30 Breaking Changes Update (#9215) 2020-05-30 13:14:59 -07:00
progmem.h format code according to conventions [skip ci] 2020-08-29 22:57:48 +00:00
raw_hid.h clang-format changes 2019-08-30 15:01:52 -07:00
report.c format code according to conventions [skip ci] 2020-03-13 18:44:56 +00:00
report.h Joystick 16-bit support (#10439) 2020-10-30 13:15:41 -07:00
sendchar.h clang-format changes 2019-08-30 15:01:52 -07:00
sendchar_null.c Initial vusb console support (#8559) 2020-05-03 01:25:39 +01:00
sendchar_uart.c clang-format changes 2019-08-30 15:01:52 -07:00
sleep_led.h clang-format changes 2019-08-30 15:01:52 -07:00
suspend.h clang-format changes 2019-08-30 15:01:52 -07:00
timer.h format code according to conventions [skip ci] 2020-04-11 00:48:16 +00:00
uart.c adds support for the atmega328 (#9043) 2020-06-10 22:23:11 +01:00
uart.h clang-format changes 2019-08-30 15:01:52 -07:00
util.c Strip out features to allow minimum firmware sizes (#8645) 2020-04-01 21:06:22 +01:00
util.h Wrap util.h functions in extern "C" (#6762) 2019-10-04 09:24:47 +10:00
virtser.h Added USB Virtual Serial support 2016-08-23 04:16:35 +00:00
wait.h Remove mbed files (#7605) 2019-12-11 11:36:00 -08:00