diff --git a/plugins/Kaleidoscope-OneShot/src/kaleidoscope/plugin/OneShot.h b/plugins/Kaleidoscope-OneShot/src/kaleidoscope/plugin/OneShot.h index 33b1b3c7..9a1e7e8c 100644 --- a/plugins/Kaleidoscope-OneShot/src/kaleidoscope/plugin/OneShot.h +++ b/plugins/Kaleidoscope-OneShot/src/kaleidoscope/plugin/OneShot.h @@ -187,21 +187,21 @@ class OneShot : public kaleidoscope::Plugin { // -------------------------------------------------------------------------- // Configuration variables - uint16_t timeout_{2500}; - uint16_t hold_timeout_{250}; - int16_t double_tap_timeout_{-1}; + uint16_t timeout_ = 2500; + uint16_t hold_timeout_ = 250; + int16_t double_tap_timeout_ = -1; - uint16_t stickable_keys_{uint16_t(-1)}; - bool auto_modifiers_{false}; - bool auto_layers_{false}; + uint16_t stickable_keys_ = -1; + bool auto_modifiers_ = false; + bool auto_layers_ = false; // -------------------------------------------------------------------------- // State variables KeyAddrBitfield temp_addrs_; KeyAddrBitfield glue_addrs_; - uint16_t start_time_{0}; - KeyAddr prev_key_addr_{invalid_key_addr}; + uint16_t start_time_ = 0; + KeyAddr prev_key_addr_ = invalid_key_addr; // -------------------------------------------------------------------------- // Internal utility functions