diff --git a/src/Kaleidoscope/EEPROM-Keymap-Focus.h b/src/Kaleidoscope/EEPROM-Keymap-Focus.h index 5e72184d..72103329 100644 --- a/src/Kaleidoscope/EEPROM-Keymap-Focus.h +++ b/src/Kaleidoscope/EEPROM-Keymap-Focus.h @@ -30,13 +30,6 @@ "Uploads a new keymap to EEPROM." \ "Starts at layer 0, row 0, column 0, " \ "and continues as long as there is data on the line.\n\n" \ - "keymap.setPos layer row column flag keyCode\n" \ - "-------------------------------------------\n" \ - "Sets the key at the specified `layer`, `row`, and `column` " \ - "to the key with `flag`, and `keyCode` properties.\n\n" \ - "keymap.getPos layer row column\n" \ - "------------------------------\n" \ - "Dump the key at `layer`, `row`, and `column`.\n\n" \ "keymap.transfer layer\n" \ "---------------------\n" \ "Transfers the `layer` from PROGMEM to EEPROM.") diff --git a/src/Kaleidoscope/EEPROM-Keymap.cpp b/src/Kaleidoscope/EEPROM-Keymap.cpp index 5a737175..dce75463 100644 --- a/src/Kaleidoscope/EEPROM-Keymap.cpp +++ b/src/Kaleidoscope/EEPROM-Keymap.cpp @@ -94,8 +94,6 @@ namespace KaleidoscopePlugins { EEPROMKeymap::focusKeymap (const char *command) { enum { UPLOAD, - GETPOS, - SETPOS, DUMP, TRANSFER, } subCommand; @@ -109,10 +107,6 @@ namespace KaleidoscopePlugins { subCommand = DUMP; else if (strcmp_P (command + 7, PSTR ("transfer")) == 0) subCommand = TRANSFER; - else if (strcmp_P (command + 7, PSTR ("getPos")) == 0) - subCommand = GETPOS; - else if (strcmp_P (command + 7, PSTR ("setPos")) == 0) - subCommand = SETPOS; else return false; @@ -127,19 +121,6 @@ namespace KaleidoscopePlugins { break; } - case GETPOS: - { - uint8_t layer = Serial.parseInt (); - uint8_t row = Serial.parseInt (); - uint8_t col = Serial.parseInt (); - - Key k = getKey (layer, row, col); - - printKey (k); - - break; - } - case DUMP: { for (uint8_t layer = 0; layer < 4; layer++) { @@ -159,18 +140,6 @@ namespace KaleidoscopePlugins { break; } - case SETPOS: - { - uint8_t layer = Serial.parseInt (); - uint8_t row = Serial.parseInt (); - uint8_t col = Serial.parseInt (); - - uint16_t pos = ((layer * ROWS * COLS) + (row * COLS) + col); - updateKey (pos, parseKey ()); - - break; - } - case TRANSFER: { uint8_t layer = Serial.parseInt ();