From 3f9f18d82eea1c2da8980214ad96942234f51273 Mon Sep 17 00:00:00 2001 From: leviport Date: Thu, 5 Mar 2020 10:37:38 -0700 Subject: [PATCH] Rename lrrr to Launch, enbiggen L-Shift to 2U --- keyboards/system76/{lrrr => launch}/README.md | 8 ++++---- keyboards/system76/{lrrr => launch}/config.h | 4 ++-- .../{lrrr => launch}/keymaps/default/keymap.c | 14 +++++++------- .../system76/{lrrr/lrrr.c => launch/launch.c} | 2 +- .../system76/{lrrr/lrrr.h => launch/launch.h} | 6 +++--- keyboards/system76/{lrrr => launch}/rules.mk | 0 6 files changed, 17 insertions(+), 17 deletions(-) rename keyboards/system76/{lrrr => launch}/README.md (87%) rename keyboards/system76/{lrrr => launch}/config.h (91%) rename keyboards/system76/{lrrr => launch}/keymaps/default/keymap.c (94%) rename keyboards/system76/{lrrr/lrrr.c => launch/launch.c} (89%) rename keyboards/system76/{lrrr/lrrr.h => launch/launch.h} (95%) rename keyboards/system76/{lrrr => launch}/rules.mk (100%) diff --git a/keyboards/system76/lrrr/README.md b/keyboards/system76/launch/README.md similarity index 87% rename from keyboards/system76/lrrr/README.md rename to keyboards/system76/launch/README.md index 6fd7f5c1be2..1bb62384a62 100644 --- a/keyboards/system76/lrrr/README.md +++ b/keyboards/system76/launch/README.md @@ -3,12 +3,12 @@ * After cloning, you probably need to run `make git-submodule`. - You may also need to install dependencies: `sudo apt install avrdude gcc-avr avr-libc` * To build the firmware without flashing the keyboard, use `make (keyboard name):(layout name)` - - For example, if I want to build Levi's layout for the lrrr keyboard, I will run: - `make system76/lrrr:levi` + - For example, if I want to build Levi's layout for the Launch keyboard, I will run: + `make system76/launch:levi` * To flash the firmware, you'll use the same build command, but with `flash` added to the end: - `make system76/lrrr:default:flash` + `make system76/launch:default:flash` - After it builds, you will see a message that says `Detecting USB port, reset your controller now...`. You then want to hit the "RESET" key on the keyboard if it is programmed into the layout. - - In the default layout, it is Fn+Esc. If a RESET key is not programmed into the layout, you will have to push the button on the Arduino Micro controller board. + - In the default layout, it is Fn+Esc. If a RESET key is not programmed into the layout, you will have to manually reset the controller. ## Making your own layout: If you want to create your own layout, go to the `keymaps` directory and copy one of the maps in there. You'll probably want to start with the default layout, but the other layouts in there may be helpful references. The name of the directory you create will be the name of your layout. Ensure that it has no spaces or strange symbols, as this could lead to build errors. diff --git a/keyboards/system76/lrrr/config.h b/keyboards/system76/launch/config.h similarity index 91% rename from keyboards/system76/lrrr/config.h rename to keyboards/system76/launch/config.h index 15b88e620b2..87b96cd91f9 100644 --- a/keyboards/system76/lrrr/config.h +++ b/keyboards/system76/launch/config.h @@ -8,8 +8,8 @@ #define PRODUCT_ID 0x1776 #define DEVICE_VER 0x0001 #define MANUFACTURER System76 -#define PRODUCT Lrrr -#define DESCRIPTION Lrrr Keyboard +#define PRODUCT Launch +#define DESCRIPTION Launch Keyboard /* key matrix size */ #define MATRIX_ROWS 6 diff --git a/keyboards/system76/lrrr/keymaps/default/keymap.c b/keyboards/system76/launch/keymaps/default/keymap.c similarity index 94% rename from keyboards/system76/lrrr/keymaps/default/keymap.c rename to keyboards/system76/launch/keymaps/default/keymap.c index eed91eb5471..54cd388d800 100644 --- a/keyboards/system76/lrrr/keymaps/default/keymap.c +++ b/keyboards/system76/launch/keymaps/default/keymap.c @@ -16,9 +16,9 @@ ________________________________________________________________________________ | | | | | | | | | | | ; | ' | | | | | CAPS | A | S | D | F | G | H | J | K | L | : | " | ENTER | | END | |____________|________|________|________|________|________|________|________|________|________|________|________|____________|___|________| - | | | | | | | | | , | . | / | | | - | SHIFT | Z | X | C | V | B | N | M | < | > | ? | SHIFT | UP | - ____|____________|________|________|________|________|________|________|________|________|________|________|____________|________|_________ + | | | | | | | | | , | . | / | | | + | SHIFT | Z | X | C | V | B | N | M | < | > | ? | SHIFT | UP | + |________________|________|________|________|________|________|________|________|________|________|________|____________|________|_________ | | | | | | | | | | | | | | | CTRL | FN | LGUI | LALT | SPACE | SPACE | RCTRL | RALT | FN | | LEFT | DOWN | RIGHT | |____________|________|_______|________|_________________|_________________|________|________|_____________| |________|________|________| @@ -29,7 +29,7 @@ ________________________________________________________________________________ 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_BSPC, KC_PGUP, KC_TAB, 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_BSLS, KC_PGDN, KC_CAPS, 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_END, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_LCTL, MO(1), KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_RCTL, KC_RALT, MO(1), KC_LEFT, KC_DOWN, KC_RIGHT ), @@ -47,9 +47,9 @@ ________________________________________________________________________________ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |____________|________|________|________|________|________|________|________|________|________|________|________|____________|___|________| - | | | | | | | | | | | | | | - | | | | | | | | | | | | | PGUP | - ____|____________|________|________|________|________|________|________|________|________|________|________|____________|________|_________ + | | | | | | | | | | | | | | + | | | | | | | | | | | | | PGUP | + |________________|________|________|________|________|________|________|________|________|________|________|____________|________|_________ | | | | | | | | | | | | | | | | | | | | | | | | | HOME | PGDN | END | |____________|________|_______|________|_________________|_________________|________|________|_____________| |________|________|________| diff --git a/keyboards/system76/lrrr/lrrr.c b/keyboards/system76/launch/launch.c similarity index 89% rename from keyboards/system76/lrrr/lrrr.c rename to keyboards/system76/launch/launch.c index 9ab9ad52fbd..277dac48164 100644 --- a/keyboards/system76/lrrr/lrrr.c +++ b/keyboards/system76/launch/launch.c @@ -1,5 +1,5 @@ -#include "lrrr.h" +#include "launch.h" void keyboard_post_init_user(void) { // Customise these values to desired behaviour diff --git a/keyboards/system76/lrrr/lrrr.h b/keyboards/system76/launch/launch.h similarity index 95% rename from keyboards/system76/lrrr/lrrr.h rename to keyboards/system76/launch/launch.h index 46adc344982..9a690ce50d2 100644 --- a/keyboards/system76/lrrr/lrrr.h +++ b/keyboards/system76/launch/launch.h @@ -1,5 +1,5 @@ -#ifndef LRRR_H -#define LRRR_H +#ifndef LAUNCH_H +#define LAUNCH_H #include "quantum.h" @@ -21,4 +21,4 @@ { K50, K51, K52, K53, K54, ___, K56, K57, K58, K59, K5A, K5B, K5C, ___, ___ }, \ } -#endif // UGLYDENSE_H +#endif // LAUNCH_H diff --git a/keyboards/system76/lrrr/rules.mk b/keyboards/system76/launch/rules.mk similarity index 100% rename from keyboards/system76/lrrr/rules.mk rename to keyboards/system76/launch/rules.mk