flehrad/bigswitch: adding Vial port, expand flash documentation (#649)

* blehrad/bigswitch: adding Vial port, expand flash docu

* flehrad/bigswitch: default to SECURE mode

* typo

* Apply suggestions from code review

single key as an unlock combo

Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>

* remove redundant setup info

---------

Co-authored-by: Less/Rikki <86894501+lesshonor@users.noreply.github.com>
This commit is contained in:
Ed Griebel 2024-01-28 20:36:21 -05:00 committed by GitHub
parent df7afce754
commit ac3f6d5eee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 69 additions and 0 deletions

View file

@ -0,0 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma once
#define VIAL_KEYBOARD_UID {0x6D, 0x2C, 0x7B, 0xB2, 0xEA, 0xD4, 0xCB, 0x5A}
/* no sense having layers with a single key */
#define DYNAMIC_KEYMAP_LAYER_COUNT 1
#define VIAL_UNLOCK_COMBO_ROWS { 0 }
#define VIAL_UNLOCK_COMBO_COLS { 0 }

View file

@ -0,0 +1,26 @@
/*
Copyright 2018 QMK Contributors
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
#define LOCK_OSX LSFT(LCTL(KC_KB_POWER))
#define SLEEP_OSX LALT(LGUI(KC_KB_POWER))
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
LAYOUT(SLEEP_OSX),
};

View file

@ -0,0 +1,11 @@
VIA_ENABLE = yes
VIAL_ENABLE = yes
# These options reduce firmware size to something flashable
# tap-dance, combos, and key overrides don't make sense with a single button
TAP_DANCE_ENABLE = no
COMBO_ENABLE = no
KEY_OVERRIDE_ENABLE = no
# reduces firmware size from 95% to 80%
LTO_ENABLE = yes

View file

@ -0,0 +1,21 @@
{
"name": "Big Switch",
"vendorId": "0x1209",
"productId": "0xB195",
"lighting": "qmk_rgblight",
"matrix": {
"rows": 1,
"cols": 1
},
"layouts": {
"keymap": [
[
{
"w": 4,
"h": 4
},
"0,0"
]
]
}
}