add preonic rev3_drop

This commit is contained in:
Norbert Csibra 2024-11-02 15:10:29 +01:00
parent 1c39a28ca0
commit 957e4af610
5 changed files with 38 additions and 4 deletions

View file

@ -1,6 +1,6 @@
#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] = {

View 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),
};

View 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

View file

@ -2,6 +2,7 @@
"userspace_version": "1.1",
"build_targets": [
["atreus62", "ncsibra"],
["preonic/rev2", "ncsibra"]
["preonic/rev2", "ncsibra"],
["preonic/rev3_drop", "ncsibra"]
]
}

View file

@ -3,8 +3,6 @@
// copied from https://github.com/Exidex/qmk_firmware/blob/custom/keyboards/beekeeb/piantor_pro/readme.md
// ================ mostly callum's oneshot mods
typedef enum {
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