Skip to content

Commit

Permalink
Temporary fix for duplicate Qukey definition
Browse files Browse the repository at this point in the history
Signed-off-by: Evy Bongers <[email protected]>
  • Loading branch information
EvyBongers committed Mar 23, 2024
1 parent 7234c72 commit 75e0883
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/Kaleidoscope-Qukeys/src/kaleidoscope/plugin/Qukeys.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

#define LT(layer, key) kaleidoscope::plugin::LayerTapKey(layer, Key_##key)

#define QK(primary_key, secondary_key) kaleidoscope::plugin::Qukey(primary_key, secondary_key)
#define QK(primary_key, secondary_key) kaleidoscope::plugin::Qkey(primary_key, secondary_key)

namespace kaleidoscope {
namespace plugin {
Expand All @@ -57,7 +57,7 @@ constexpr Key LayerTapKey(uint8_t layer, Key tap_key) {
(layer << 8) + tap_key.getKeyCode());
}

constexpr Key Qukey(Key primary_key, Key secondary_key) {
constexpr Key Qkey(Key primary_key, Key secondary_key) {
return Key(kaleidoscope::ranges::QK_FIRST +
(primary_key.getKeyCode() + secondary_key.getKeyCode());
}
Expand Down

0 comments on commit 75e0883

Please sign in to comment.