forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
whole buncha stuff
- Loading branch information
Showing
29 changed files
with
986 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/* Copyright 2021 drhigsby | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
#pragma once | ||
|
||
#include "config_common.h" | ||
|
||
/* USB Device descriptor parameter */ | ||
#define MANUFACTURER DrHigsby | ||
#define PRODUCT Let It Slide! | ||
#define VENDOR_ID 0x0007 | ||
#define PRODUCT_ID 0x0001 | ||
#define DEVICE_VER 0x0005 | ||
|
||
/* key matrix size */ | ||
#define MATRIX_ROWS 4 | ||
#define MATRIX_COLS 13 | ||
|
||
/* | ||
* Keyboard Matrix Assignments | ||
* | ||
* Change this to how you wired your keyboard | ||
* COLS: AVR pins used for columns, left to right | ||
* ROWS: AVR pins used for rows, top to bottom | ||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
* | ||
*/ | ||
|
||
/* key matrix pins */ | ||
#define MATRIX_ROW_PINS { F4, F5, D5, D3 } | ||
#define MATRIX_COL_PINS { C7, C6, B6, B5, B4, D7, D6, D4, B2, B3, D1, D0, D2 } | ||
#define UNUSED_PINS | ||
|
||
/* COL2ROW or ROW2COL */ | ||
#define DIODE_DIRECTION COL2ROW | ||
|
||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
#define DEBOUNCE 5 | ||
|
||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
#define LOCKING_SUPPORT_ENABLE | ||
/* Locking resynchronize hack */ | ||
#define LOCKING_RESYNC_ENABLE | ||
|
||
/* Define encoder pads */ | ||
#define ENCODERS_PAD_A { F7 } | ||
#define ENCODERS_PAD_B { F6 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"keyboard_name": "Let It Slide!", | ||
"url": "http://www.keyboard-layout-editor.com/#/gists/a9bf583ebcf8c970eae7cfc119dd2f25", | ||
"maintainer": "drhigsby", | ||
"layouts": { | ||
"LAYOUT_625u": { | ||
"layout": [{"label":"Esc", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"{", "x":11, "y":0}, {"label":"}", "x":12, "y":0}, {"label":"Back", "x":13, "y":0}, {"label":"Tab", "x":0, "y":1, "w":1.25}, {"label":"A", "x":1.25, "y":1}, {"label":"S", "x":2.25, "y":1}, {"label":"D", "x":3.25, "y":1}, {"label":"F", "x":4.25, "y":1}, {"label":"G", "x":5.25, "y":1}, {"label":"H", "x":6.25, "y":1}, {"label":"J", "x":7.25, "y":1}, {"label":"K", "x":8.25, "y":1}, {"label":"L", "x":9.25, "y":1}, {"label":":", "x":10.25, "y":1}, {"label":"\"", "x":11.25, "y":1}, {"label":"Enter", "x":12.25, "y":1, "w":1.75}, {"label":"Shift", "x":0, "y":2, "w":1.75}, {"label":"Z", "x":1.75, "y":2}, {"label":"X", "x":2.75, "y":2}, {"label":"C", "x":3.75, "y":2}, {"label":"V", "x":4.75, "y":2}, {"label":"B", "x":5.75, "y":2}, {"label":"N", "x":6.75, "y":2}, {"label":"M", "x":7.75, "y":2}, {"label":"<", "x":8.75, "y":2}, {"label":">", "x":9.75, "y":2}, {"label":"?", "x":10.75, "y":2}, {"label":"Shift", "x":11.75, "y":2, "w":1.25}, {"label":"↑", "x":13, "y":2}, {"label":"Ctrl", "x":0, "y":3}, {"label":"Win", "x":1, "y":3}, {"label":"Alt", "x":2, "y":3}, {"label":"", "x":3, "y":3, "w":6.25}, {"label":"Fn", "x":9.25, "y":3, "w":1.25}, {"label":"Any", "x":10.5, "y":3, "w":1.25}, {"label":"←", "x":12, "y":3}, {"label":"↓", "x":13, "y":3}, {"label":"→", "x":14, "y":3}] | ||
}, | ||
|
||
"LAYOUT_225u_2u": { | ||
"layout": [{"label":"Esc", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"{", "x":11, "y":0}, {"label":"}", "x":12, "y":0}, {"label":"Back", "x":13, "y":0}, {"label":"Tab", "x":0, "y":1, "w":1.25}, {"label":"A", "x":1.25, "y":1}, {"label":"S", "x":2.25, "y":1}, {"label":"D", "x":3.25, "y":1}, {"label":"F", "x":4.25, "y":1}, {"label":"G", "x":5.25, "y":1}, {"label":"H", "x":6.25, "y":1}, {"label":"J", "x":7.25, "y":1}, {"label":"K", "x":8.25, "y":1}, {"label":"L", "x":9.25, "y":1}, {"label":":", "x":10.25, "y":1}, {"label":"\"", "x":11.25, "y":1}, {"label":"Enter", "x":12.25, "y":1, "w":1.75}, {"label":"Shift", "x":0, "y":2, "w":1.75}, {"label":"Z", "x":1.75, "y":2}, {"label":"X", "x":2.75, "y":2}, {"label":"C", "x":3.75, "y":2}, {"label":"V", "x":4.75, "y":2}, {"label":"B", "x":5.75, "y":2}, {"label":"N", "x":6.75, "y":2}, {"label":"M", "x":7.75, "y":2}, {"label":"<", "x":8.75, "y":2}, {"label":">", "x":9.75, "y":2}, {"label":"?", "x":10.75, "y":2}, {"label":"Shift", "x":11.75, "y":2, "w":1.25}, {"label":"↑", "x":13, "y":2}, {"label":"Ctrl", "x":0, "y":3}, {"label":"Win", "x":1, "y":3}, {"label":"Alt", "x":2, "y":3}, {"x":3, "y":3}, {"label":"", "x":4, "y":3, "w":2.25}, {"label":"", "x":6.25, "y":3, "w":2}, {"x":8.25, "y":3}, {"label":"Fn", "x":9.25, "y":3, "w":1.25}, {"label":"Any", "x":10.5, "y":3, "w":1.25}, {"label":"←", "x":12, "y":3}, {"label":"↓", "x":13, "y":3}, {"label":"→", "x":14, "y":3}] | ||
}, | ||
|
||
"LAYOUT_2x3u": { | ||
"layout": [{"label":"Esc", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"{", "x":11, "y":0}, {"label":"}", "x":12, "y":0}, {"label":"Back", "x":13, "y":0}, {"label":"Tab", "x":0, "y":1, "w":1.25}, {"label":"A", "x":1.25, "y":1}, {"label":"S", "x":2.25, "y":1}, {"label":"D", "x":3.25, "y":1}, {"label":"F", "x":4.25, "y":1}, {"label":"G", "x":5.25, "y":1}, {"label":"H", "x":6.25, "y":1}, {"label":"J", "x":7.25, "y":1}, {"label":"K", "x":8.25, "y":1}, {"label":"L", "x":9.25, "y":1}, {"label":":", "x":10.25, "y":1}, {"label":"\"", "x":11.25, "y":1}, {"label":"Enter", "x":12.25, "y":1, "w":1.75}, {"label":"Shift", "x":0, "y":2, "w":1.75}, {"label":"Z", "x":1.75, "y":2}, {"label":"X", "x":2.75, "y":2}, {"label":"C", "x":3.75, "y":2}, {"label":"V", "x":4.75, "y":2}, {"label":"B", "x":5.75, "y":2}, {"label":"N", "x":6.75, "y":2}, {"label":"M", "x":7.75, "y":2}, {"label":"<", "x":8.75, "y":2}, {"label":">", "x":9.75, "y":2}, {"label":"?", "x":10.75, "y":2}, {"label":"Shift", "x":11.75, "y":2, "w":1.25}, {"label":"↑", "x":13, "y":2}, {"label":"Ctrl", "x":0, "y":3}, {"label":"Win", "x":1, "y":3}, {"x":2, "y":3, "w":1.25}, {"label":"", "x":3.25, "y":3, "w":3}, {"label":"", "x":6.25, "y":3, "w":3}, {"label":"Fn", "x":9.25, "y":3, "w":1.25}, {"label":"Any", "x":10.5, "y":3, "w":1.25}, {"label":"←", "x":12, "y":3}, {"label":"↓", "x":13, "y":3}, {"label":"→", "x":14, "y":3}] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
/* Copyright 2021 drhigsby | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
#include QMK_KEYBOARD_H | ||
|
||
#include "analog.h" | ||
|
||
#define POT_TOLERANCE 50 | ||
#define POT_PIN F0 | ||
#include "print.h" | ||
|
||
int16_t max_pot_val = 1023; | ||
int16_t max_ticks = 50; | ||
int16_t ticks = 0; | ||
int16_t pot_oldVal = 0; | ||
int16_t pot_val = 0; | ||
|
||
void matrix_init_user(void) { | ||
analogReference(ADC_REF_POWER); | ||
for (int i = 0; i<max_ticks;++i){ | ||
tap_code(KC_VOLD); | ||
} | ||
ticks = 0; | ||
} | ||
|
||
void matrix_scan_user(void){ | ||
pot_val = (analogReadPin(POT_PIN)); | ||
// If there is a big enough change, then we need to do something | ||
if (abs(pot_val - pot_oldVal) > POT_TOLERANCE) { | ||
uprintf("Pot Val: %d",pot_val); | ||
int num_ticks = ((float)pot_val/max_pot_val)*max_ticks; | ||
int delta_ticks = num_ticks - ticks; | ||
if (delta_ticks > 0) { | ||
for (int i = 0; i<delta_ticks;++i){ | ||
tap_code(KC_VOLU); | ||
} | ||
} else { | ||
for (int i = 0; i<abs(delta_ticks);++i){ | ||
tap_code(KC_VOLD); | ||
} | ||
} | ||
ticks = num_ticks; | ||
pot_oldVal = pot_val; | ||
} | ||
} | ||
|
||
enum layers{ | ||
_BASE, | ||
_NUMNAV, | ||
_FN | ||
}; | ||
|
||
#define NUMNAV MO(_NUMNAV) | ||
#define FN MO(_FN) | ||
#define zzzz KC_TRNS | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
[_BASE] = LAYOUT_625u( | ||
KC_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, | ||
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
KC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSPC, KC_UP, | ||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, NUMNAV, FN, KC_LEFT, KC_DOWN, KC_RGHT | ||
), | ||
|
||
[_NUMNAV] = LAYOUT_625u( | ||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_DEL, | ||
KC_CAPS, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_PIPE, KC_BSLS, | ||
zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, KC_HOME, | ||
zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, KC_PGUP, KC_END, KC_PGDN | ||
), | ||
|
||
[_FN] = LAYOUT_625u( | ||
zzzz, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, zzzz, | ||
zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, | ||
zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, | ||
zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz | ||
) | ||
|
||
}; | ||
|
||
bool encoder_update_user(uint8_t index, bool clockwise) { | ||
if (index == 0) { | ||
if (clockwise) { | ||
tap_code(KC_PGUP); | ||
} else { | ||
tap_code(KC_PGDN); | ||
} | ||
} | ||
return true; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Default Let It Slide! Keymap |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
/* Copyright 2021 drhigsby | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
#include QMK_KEYBOARD_H | ||
|
||
#include "analog.h" | ||
|
||
#define POT_TOLERANCE 50 | ||
#define POT_PIN F0 | ||
#include "print.h" | ||
|
||
int16_t max_pot_val = 1023; | ||
int16_t max_ticks = 50; | ||
int16_t ticks = 0; | ||
int16_t pot_oldVal = 0; | ||
int16_t pot_val = 0; | ||
|
||
void matrix_init_user(void) { | ||
analogReference(ADC_REF_POWER); | ||
for (int i = 0; i<max_ticks;++i){ | ||
tap_code(KC_VOLD); | ||
} | ||
ticks = 0; | ||
} | ||
|
||
void matrix_scan_user(void){ | ||
pot_val = (analogReadPin(POT_PIN)); | ||
// If there is a big enough change, then we need to do something | ||
if (abs(pot_val - pot_oldVal) > POT_TOLERANCE) { | ||
uprintf("Pot Val: %d",pot_val); | ||
int num_ticks = ((float)pot_val/max_pot_val)*max_ticks; | ||
int delta_ticks = num_ticks - ticks; | ||
if (delta_ticks > 0) { | ||
for (int i = 0; i<delta_ticks;++i){ | ||
tap_code(KC_VOLU); | ||
} | ||
} else { | ||
for (int i = 0; i<abs(delta_ticks);++i){ | ||
tap_code(KC_VOLD); | ||
} | ||
} | ||
ticks = num_ticks; | ||
pot_oldVal = pot_val; | ||
} | ||
} | ||
|
||
enum layers{ | ||
_BASE, | ||
_NUMNAV, | ||
_FN | ||
}; | ||
|
||
#define NUMNAV MO(_NUMNAV) | ||
#define FN MO(_FN) | ||
#define zzzz KC_TRNS | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
[_BASE] = LAYOUT_225u_2u( | ||
KC_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, | ||
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, | ||
KC_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSPC, KC_UP, | ||
KC_LGUI, KC_LALT, KC_LCTL, KC_PGDN, NUMNAV, KC_SPC, KC_PGUP, FN, KC_RGUI, KC_LEFT, KC_DOWN, KC_RGHT | ||
), | ||
|
||
[_NUMNAV] = LAYOUT_225u_2u( | ||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_DEL, | ||
KC_CAPS, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, KC_PIPE, KC_BSLS, | ||
zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, KC_HOME, | ||
zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, KC_PGUP, KC_END, KC_PGDN | ||
), | ||
|
||
[_FN] = LAYOUT_225u_2u( | ||
zzzz, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, zzzz, | ||
zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, | ||
zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, | ||
zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz, zzzz | ||
) | ||
|
||
}; | ||
|
||
bool encoder_update_user(uint8_t index, bool clockwise) { | ||
if (index == 0) { | ||
if (clockwise) { | ||
tap_code(KC_PGUP); | ||
} else { | ||
tap_code(KC_PGDN); | ||
} | ||
} | ||
return true; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Default Let It Slide! Keymap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* Copyright 2021 drhigsby | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
#include "letitslide.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
/* Copyright 2021 drhigsby | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 2 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
#pragma once | ||
|
||
#include "quantum.h" | ||
|
||
|
||
#define LAYOUT_625u( \ | ||
k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k312, \ | ||
k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, \ | ||
k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212, \ | ||
k300, k301, k302, k304, k307, k308, k309, k310, k311 \ | ||
) \ | ||
{ \ | ||
{ k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012 }, \ | ||
{ k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112 }, \ | ||
{ k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212 }, \ | ||
{ k300, k301, k302, KC_NO, k304, KC_NO, KC_NO, k307, k308, k309, k310, k311, k312 } \ | ||
} | ||
|
||
#define LAYOUT_225u_2u( \ | ||
k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k312, \ | ||
k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, \ | ||
k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212, \ | ||
k300, k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311 \ | ||
) \ | ||
{ \ | ||
{ k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012 }, \ | ||
{ k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112 }, \ | ||
{ k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212 }, \ | ||
{ k300, k301, k302, k303, k304, k305, k306, k307, k308, k309, k310, k311, k312 } \ | ||
} | ||
|
||
#define LAYOUT_2x3u( \ | ||
k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012, k312, \ | ||
k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112, \ | ||
k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212, \ | ||
k300, k301, k302, k304, k305, k307, k308, k309, k310, k311 \ | ||
) \ | ||
{ \ | ||
{ k000, k001, k002, k003, k004, k005, k006, k007, k008, k009, k010, k011, k012 }, \ | ||
{ k100, k101, k102, k103, k104, k105, k106, k107, k108, k109, k110, k111, k112 }, \ | ||
{ k200, k201, k202, k203, k204, k205, k206, k207, k208, k209, k210, k211, k212 }, \ | ||
{ k300, k301, k302, KC_NO, k304, k305, KC_NO, k307, k308, k309, k310, k311, k312 } \ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Let It Slide! | ||
|
||
![Let It Slide!](https://i.imgur.com/) | ||
|
||
Let It Slide! Is a 14u wide 40% keyboard featuring a potentiometer slider and full punctuation. | ||
|
||
* Keyboard Maintainer: [H. Bond](https://github.com/drhigsby) | ||
* Hardware Supported: Let It Slide! (https://github.com/drhigsby/letitslide) | ||
* Hardware Availability: Make your own | ||
|
||
Make example for this keyboard (after setting up your build environment): | ||
|
||
make letitslide:default | ||
|
||
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). |
Oops, something went wrong.