diff --git a/keyboards/preonic/rev2/keymaps/ncsibra/keymap.c b/keyboards/preonic/rev2/keymaps/ncsibra/keymap.c index b89926f5..66be76de 100644 --- a/keyboards/preonic/rev2/keymaps/ncsibra/keymap.c +++ b/keyboards/preonic/rev2/keymaps/ncsibra/keymap.c @@ -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] = { diff --git a/keyboards/preonic/rev3_drop/keymaps/ncsibra/keymap.c b/keyboards/preonic/rev3_drop/keymaps/ncsibra/keymap.c new file mode 100644 index 00000000..66be76de --- /dev/null +++ b/keyboards/preonic/rev3_drop/keymaps/ncsibra/keymap.c @@ -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), +}; diff --git a/keyboards/preonic/rev3_drop/keymaps/ncsibra/rules.mk b/keyboards/preonic/rev3_drop/keymaps/ncsibra/rules.mk new file mode 100644 index 00000000..36cc47cd --- /dev/null +++ b/keyboards/preonic/rev3_drop/keymaps/ncsibra/rules.mk @@ -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 diff --git a/qmk.json b/qmk.json index cc1076cd..f18d813f 100644 --- a/qmk.json +++ b/qmk.json @@ -2,6 +2,7 @@ "userspace_version": "1.1", "build_targets": [ ["atreus62", "ncsibra"], - ["preonic/rev2", "ncsibra"] + ["preonic/rev2", "ncsibra"], + ["preonic/rev3_drop", "ncsibra"] ] } \ No newline at end of file diff --git a/users/ncsibra/osl.c b/users/ncsibra/osl.c index b561224c..311b1640 100644 --- a/users/ncsibra/osl.c +++ b/users/ncsibra/osl.c @@ -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