forked from mirrors/qmk_firmware
add VIA keymap for boardsource/3x4 (#10043)
* via keymap for boardsource/3x4 * fix formatting * Apply suggestions from code review fix rules.mk * Update keyboards/boardsource/3x4/rules.mk * use unique product ID * update vendor id to be unique, update product id to make more sense
This commit is contained in:
parent
03090d6571
commit
5aa55a7154
5 changed files with 35 additions and 7 deletions
|
@ -5,8 +5,8 @@
|
||||||
#include "config_common.h"
|
#include "config_common.h"
|
||||||
|
|
||||||
/* USB Device descriptor parameter */
|
/* USB Device descriptor parameter */
|
||||||
#define VENDOR_ID 0xF7E0
|
#define VENDOR_ID 0x4273 // "Bs" - Boardsource
|
||||||
#define PRODUCT_ID 0x0412
|
#define PRODUCT_ID 0x0304 // 3x4
|
||||||
#define DEVICE_VER 0x0000
|
#define DEVICE_VER 0x0000
|
||||||
#define MANUFACTURER Boardsource
|
#define MANUFACTURER Boardsource
|
||||||
#define PRODUCT 3x4
|
#define PRODUCT 3x4
|
||||||
|
|
25
keyboards/boardsource/3x4/keymaps/via/keymap.c
Normal file
25
keyboards/boardsource/3x4/keymaps/via/keymap.c
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
#include QMK_KEYBOARD_H
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
LAYOUT(
|
||||||
|
KC_0, KC_1, KC_4, KC_7,
|
||||||
|
KC_ENT, KC_2, KC_5, KC_8,
|
||||||
|
MO(1), KC_3, KC_6, KC_9
|
||||||
|
),
|
||||||
|
LAYOUT(
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, RESET
|
||||||
|
),
|
||||||
|
LAYOUT(
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||||
|
),
|
||||||
|
LAYOUT(
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||||
|
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
|
||||||
|
)
|
||||||
|
};
|
5
keyboards/boardsource/3x4/keymaps/via/readme.md
Normal file
5
keyboards/boardsource/3x4/keymaps/via/readme.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# The via keymap for boardsource 3x4 macropad
|
||||||
|
|
||||||
|
This folder contains the [VIA](https://caniusevia.com/) configuration for the boardsource 3x4 macropad
|
||||||
|
|
||||||
|
Maintained by: [gwillad](https://github.com/gwillad)
|
1
keyboards/boardsource/3x4/keymaps/via/rules.mk
Normal file
1
keyboards/boardsource/3x4/keymaps/via/rules.mk
Normal file
|
@ -0,0 +1 @@
|
||||||
|
VIA_ENABLE = yes
|
|
@ -24,8 +24,5 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||||
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||||
NKRO_ENABLE = no # USB Nkey Rollover
|
NKRO_ENABLE = no # USB Nkey Rollover
|
||||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||||
MIDI_ENABLE = no # MIDI support
|
BLUETOOTH_ENABLE = no # Enable Bluetooth
|
||||||
UNICODE_ENABLE = no # Unicode
|
AUDIO_ENABLE = no # Audio output
|
||||||
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
|
||||||
AUDIO_ENABLE = no # Audio output on port C6
|
|
||||||
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
|
|
||||||
|
|
Loading…
Reference in a new issue