From 917d2137bce2dd81cb9fbff4067c92cd80e8df89 Mon Sep 17 00:00:00 2001 From: Karl Fleischmann Date: Mon, 1 Jun 2026 18:47:57 +0200 Subject: [PATCH] gui: keymap - Fix indentation of K70 CORE RGB definition --- src/gui/keymap.cpp | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/gui/keymap.cpp b/src/gui/keymap.cpp index 8625bfbd..54f324ca 100644 --- a/src/gui/keymap.cpp +++ b/src/gui/keymap.cpp @@ -925,28 +925,28 @@ static QHash getMap(KeyMap::Model model, KeyMap::Layout layout){ break; } case KeyMap::K70_CORE_RGB:{ - map = getMap(KeyMap::K70, layout); - map["lock"] = {nullptr, "Lock", "lock", 20, 2, NS, false, true}; // F1 alternate - map["profswitch"] = {nullptr, "Profile Switch", "profswitch", 32, 2, 11, 11, false, true}; // F2 alternate - map["light"] = {nullptr, "Light", "light", 50, 2, NS, false, true}; // F3 and F4 alternate - map["stop"] = {nullptr, "Stop", "stop", 76, 2, 11, 11, false, true}; // F5 alternate - map["prev"] = { nullptr, "Previous", "prev", 88, 2, 11, 11, false, true}; // F6 alternate - map["play"] = { nullptr, "Play", "play", 100, 2, 11, 11, false, true}; // F7 alternate - map["next"] = { nullptr, "Next", "next", 112, 2, 11, 11, false, true}; // F8 alternate - map["ctrlwheelb"] = {nullptr, "Wheel", "ctrlwheelb", 168, 2, NS, false, true}; // F12 alternate + map = getMap(KeyMap::K70, layout); + map["lock"] = {nullptr, "Lock", "lock", 20, 2, NS, false, true}; // F1 alternate + map["profswitch"] = {nullptr, "Profile Switch", "profswitch", 32, 2, 11, 11, false, true}; // F2 alternate + map["light"] = {nullptr, "Light", "light", 50, 2, NS, false, true}; // F3 and F4 alternate + map["stop"] = {nullptr, "Stop", "stop", 76, 2, 11, 11, false, true}; // F5 alternate + map["prev"] = { nullptr, "Previous", "prev", 88, 2, 11, 11, false, true}; // F6 alternate + map["play"] = { nullptr, "Play", "play", 100, 2, 11, 11, false, true}; // F7 alternate + map["next"] = { nullptr, "Next", "next", 112, 2, 11, 11, false, true}; // F8 alternate + map["ctrlwheelb"] = {nullptr, "Wheel", "ctrlwheelb", 168, 2, NS, false, true}; // F12 alternate - // This is the media button that defaults to play - // We already have a play Fn button so we want to map it to something else so it can be programmed - map["mr"] = { nullptr, "Macro", "mr", 227, 14, 16, 11, false, true}; + // This is the media button that defaults to play + // We already have a play Fn button so we want to map it to something else so it can be programmed + map["mr"] = { nullptr, "Macro", "mr", 227, 14, 16, 11, false, true}; - // K70 Core RGB has a volume knob that can be pressed - map["mute"] = {nullptr, "Mute", "mute", 259, 14, NS, false, true}; + // K70 Core RGB has a volume knob that can be pressed + map["mute"] = {nullptr, "Mute", "mute", 259, 14, NS, false, true}; - // Replace rwin with Fn - map["fn"] = KStrafeKeys[3]; - map["fn"].x = map["rwin"].x; - map.remove("rwin"); - break; + // Replace rwin with Fn + map["fn"] = KStrafeKeys[3]; + map["fn"].x = map["rwin"].x; + map.remove("rwin"); + break; } case KeyMap::STRAFE_MK2:{ map = getMap(KeyMap::K70MK2, layout);