mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-04-30 12:44:17 -04:00
add preonic rev3_drop
This commit is contained in:
parent
1c39a28ca0
commit
957e4af610
5 changed files with 38 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
#include "ncsibra.h"
|
#include "ncsibra.h"
|
||||||
|
|
||||||
#define LAYOUT_wrapper(...) LAYOUT_ortho_5x12(__VA_ARGS__)
|
#define LAYOUT_wrapper(...) LAYOUT_preonic_grid(__VA_ARGS__)
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
|
20
keyboards/preonic/rev3_drop/keymaps/ncsibra/keymap.c
Normal file
20
keyboards/preonic/rev3_drop/keymaps/ncsibra/keymap.c
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
#include "ncsibra.h"
|
||||||
|
|
||||||
|
#define LAYOUT_wrapper(...) LAYOUT_preonic_grid(__VA_ARGS__)
|
||||||
|
|
||||||
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
|
|
||||||
|
[_COLEMAK] = LAYOUT_wrapper(COLEMAK_LAYER),
|
||||||
|
|
||||||
|
[_QWERTY] = LAYOUT_wrapper(QWERTY_LAYER),
|
||||||
|
|
||||||
|
[_LOWER] = LAYOUT_wrapper(LOWER_LAYER),
|
||||||
|
|
||||||
|
[_RAISE] = LAYOUT_wrapper(RAISE_LAYER),
|
||||||
|
|
||||||
|
[_NUM] = LAYOUT_wrapper(NUM_LAYER),
|
||||||
|
|
||||||
|
[_WOW] = LAYOUT_wrapper(WOW_LAYER),
|
||||||
|
|
||||||
|
[_MOD] = LAYOUT_wrapper(MOD_LAYER),
|
||||||
|
};
|
15
keyboards/preonic/rev3_drop/keymaps/ncsibra/rules.mk
Normal file
15
keyboards/preonic/rev3_drop/keymaps/ncsibra/rules.mk
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000)
|
||||||
|
MOUSEKEY_ENABLE = no # Mouse keys(+4700)
|
||||||
|
EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
|
||||||
|
CONSOLE_ENABLE = yes # Console for debug(+400)
|
||||||
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||||
|
NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||||
|
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||||
|
MIDI_ENABLE = no # MIDI controls
|
||||||
|
AUDIO_ENABLE = no # Audio output on port C6
|
||||||
|
UNICODE_ENABLE = no # Unicode
|
||||||
|
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
|
||||||
|
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
|
||||||
|
|
||||||
|
ENCODER_ENABLE = no
|
||||||
|
DIP_SWITCH_ENABLE = no
|
3
qmk.json
3
qmk.json
|
@ -2,6 +2,7 @@
|
||||||
"userspace_version": "1.1",
|
"userspace_version": "1.1",
|
||||||
"build_targets": [
|
"build_targets": [
|
||||||
["atreus62", "ncsibra"],
|
["atreus62", "ncsibra"],
|
||||||
["preonic/rev2", "ncsibra"]
|
["preonic/rev2", "ncsibra"],
|
||||||
|
["preonic/rev3_drop", "ncsibra"]
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
// copied from https://github.com/Exidex/qmk_firmware/blob/custom/keyboards/beekeeb/piantor_pro/readme.md
|
// copied from https://github.com/Exidex/qmk_firmware/blob/custom/keyboards/beekeeb/piantor_pro/readme.md
|
||||||
|
|
||||||
// ================ mostly callum's oneshot mods
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
osl_up_unqueued, // default, waiting for layer to be pressed
|
osl_up_unqueued, // default, waiting for layer to be pressed
|
||||||
osl_up_queued, // layer pressed and released without pressing mod key, next modifier press will have layer enabled, on all mod release layer will be disabled
|
osl_up_queued, // layer pressed and released without pressing mod key, next modifier press will have layer enabled, on all mod release layer will be disabled
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue