Add removal dates to Qukeys deprecation warnings

Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
pull/927/head
Michael Richters 4 years ago
parent 1464afe990
commit fcd7f25998
No known key found for this signature in database
GPG Key ID: 1288FD13E4EEF0C0

@ -35,21 +35,24 @@
#define LT(layer, key) Key(kaleidoscope::ranges::DUL_FIRST + (layer << 8) + (Key_ ## key).getKeyCode()) #define LT(layer, key) Key(kaleidoscope::ranges::DUL_FIRST + (layer << 8) + (Key_ ## key).getKeyCode())
#define _DEPRECATED_MESSAGE_QUKEY_ROW_COL_CONSTRUCTOR \ #define _DEPRECATED_MESSAGE_QUKEY_ROW_COL_CONSTRUCTOR \
"The `Qukey(layer, row, col, alternate_key)` constructor using separate\n" \ "The `Qukey(layer, row, col, alternate_key)` constructor using separate\n" \
"`row` & `col` parameters has been deprecated. Please replace this\n" \ "`row` & `col` parameters has been deprecated. Please replace this\n" \
"constructor with the new `KeyAddr` version:\n" \ "constructor with the new `KeyAddr` version:\n" \
" `Qukey(layer, KeyAddr(row, col), alternate_key)`" " `Qukey(layer, KeyAddr(row, col), alternate_key)`" \
"The deprecated function will be removed after 2020-12-31"
#define _DEPRECATED_MESSAGE_QUKEYS_TIMEOUT \
"The Qukeys.setTimeout() function has been renamed to setHoldTimeout()\n" \ #define _DEPRECATED_MESSAGE_QUKEYS_TIMEOUT \
"in order to distinguish it from the other timeouts more clearly." "The Qukeys.setTimeout() function has been renamed to setHoldTimeout()\n" \
"in order to distinguish it from the other timeouts more clearly." \
#define _DEPRECATED_MESSAGE_QUKEYS_RELEASEDELAY \ "The deprecated function will be removed after 2020-12-31"
"The Qukeys.setReleaseDelay() is now obsolete. The rollover grace period\n" \
"for qukey release has been replaced with an improved version based on\n" \ #define _DEPRECATED_MESSAGE_QUKEYS_RELEASEDELAY \
"the percentage of overlap between the qukey and the subsequent\n" \ "The Qukeys.setReleaseDelay() is now obsolete. The rollover grace period\n" \
"key. Please use the setOverlapThreshold() function instead." "for qukey release has been replaced with an improved version based on\n" \
"the percentage of overlap between the qukey and the subsequent\n" \
"key. Please use the setOverlapThreshold() function instead." \
"The deprecated function will be removed after 2020-12-31"
namespace kaleidoscope { namespace kaleidoscope {
namespace plugin { namespace plugin {

Loading…
Cancel
Save