diff options
Diffstat (limited to 'keyboards/psuieee/pluto12/config.h')
| -rw-r--r-- | keyboards/psuieee/pluto12/config.h | 138 |
1 files changed, 138 insertions, 0 deletions
diff --git a/keyboards/psuieee/pluto12/config.h b/keyboards/psuieee/pluto12/config.h new file mode 100644 index 000000000..60d3f0a50 --- /dev/null +++ b/keyboards/psuieee/pluto12/config.h | |||
| @@ -0,0 +1,138 @@ | |||
| 1 | // Copyright 2021 Willem McGloughlin (wymcg) | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | #include "config_common.h" | ||
| 7 | |||
| 8 | /* USB Device descriptor parameter */ | ||
| 9 | #define VENDOR_ID 0x4747 | ||
| 10 | #define PRODUCT_ID 0x7012 | ||
| 11 | #define DEVICE_VER 0x0001 | ||
| 12 | #define MANUFACTURER psuieee | ||
| 13 | #define PRODUCT pluto12 | ||
| 14 | |||
| 15 | /* key matrix size */ | ||
| 16 | #define MATRIX_ROWS 3 | ||
| 17 | #define MATRIX_COLS 4 | ||
| 18 | |||
| 19 | /* | ||
| 20 | * Keyboard Matrix Assignments | ||
| 21 | * | ||
| 22 | * Change this to how you wired your keyboard | ||
| 23 | * COLS: AVR pins used for columns, left to right | ||
| 24 | * ROWS: AVR pins used for rows, top to bottom | ||
| 25 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 26 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 27 | * | ||
| 28 | */ | ||
| 29 | #define MATRIX_ROW_PINS { D0, D4, C6 } | ||
| 30 | #define MATRIX_COL_PINS { D7, E6, B4, B5 } | ||
| 31 | #define UNUSED_PINS | ||
| 32 | |||
| 33 | /* COL2ROW, ROW2COL */ | ||
| 34 | #define DIODE_DIRECTION COL2ROW | ||
| 35 | |||
| 36 | /* | ||
| 37 | * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. | ||
| 38 | */ | ||
| 39 | //#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6 | ||
| 40 | |||
| 41 | //#define LED_NUM_LOCK_PIN B0 | ||
| 42 | //#define LED_CAPS_LOCK_PIN B1 | ||
| 43 | //#define LED_SCROLL_LOCK_PIN B2 | ||
| 44 | //#define LED_COMPOSE_PIN B3 | ||
| 45 | //#define LED_KANA_PIN B4 | ||
| 46 | |||
| 47 | //#define BACKLIGHT_PIN B7 | ||
| 48 | //#define BACKLIGHT_LEVELS 3 | ||
| 49 | //#define BACKLIGHT_BREATHING | ||
| 50 | |||
| 51 | //#define RGB_DI_PIN E2 | ||
| 52 | //#ifdef RGB_DI_PIN | ||
| 53 | //# define RGBLED_NUM 16 | ||
| 54 | //# define RGBLIGHT_HUE_STEP 8 | ||
| 55 | //# define RGBLIGHT_SAT_STEP 8 | ||
| 56 | //# define RGBLIGHT_VAL_STEP 8 | ||
| 57 | //# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
| 58 | //# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
| 59 | /*== all animations enable ==*/ | ||
| 60 | //# define RGBLIGHT_ANIMATIONS | ||
| 61 | /*== or choose animations ==*/ | ||
| 62 | //# define RGBLIGHT_EFFECT_BREATHING | ||
| 63 | //# define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 64 | //# define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 65 | //# define RGBLIGHT_EFFECT_SNAKE | ||
| 66 | //# define RGBLIGHT_EFFECT_KNIGHT | ||
| 67 | //# define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 68 | //# define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 69 | //# define RGBLIGHT_EFFECT_RGB_TEST | ||
| 70 | //# define RGBLIGHT_EFFECT_ALTERNATING | ||
| 71 | /*== customize breathing effect ==*/ | ||
| 72 | /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
| 73 | //# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
| 74 | /*==== use exp() and sin() ====*/ | ||
| 75 | //# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
| 76 | //# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
| 77 | //#endif | ||
| 78 | |||
| 79 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 80 | #define DEBOUNCE 5 | ||
| 81 | |||
| 82 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 83 | //#define MATRIX_HAS_GHOST | ||
| 84 | |||
| 85 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 86 | #define LOCKING_SUPPORT_ENABLE | ||
| 87 | /* Locking resynchronize hack */ | ||
| 88 | #define LOCKING_RESYNC_ENABLE | ||
| 89 | |||
| 90 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
| 91 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). | ||
| 92 | */ | ||
| 93 | //#define GRAVE_ESC_CTRL_OVERRIDE | ||
| 94 | |||
| 95 | /* | ||
| 96 | * Force NKRO | ||
| 97 | * | ||
| 98 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 99 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 100 | * makefile for this to work.) | ||
| 101 | * | ||
| 102 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 103 | * until the next keyboard reset. | ||
| 104 | * | ||
| 105 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 106 | * fully operational during normal computer usage. | ||
| 107 | * | ||
| 108 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 109 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 110 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 111 | * power-up. | ||
| 112 | * | ||
| 113 | */ | ||
| 114 | //#define FORCE_NKRO | ||
| 115 | |||
| 116 | /* | ||
| 117 | * Feature disable options | ||
| 118 | * These options are also useful to firmware size reduction. | ||
| 119 | */ | ||
| 120 | |||
| 121 | /* disable debug print */ | ||
| 122 | //#define NO_DEBUG | ||
| 123 | |||
| 124 | /* disable print */ | ||
| 125 | //#define NO_PRINT | ||
| 126 | |||
| 127 | /* disable action features */ | ||
| 128 | //#define NO_ACTION_LAYER | ||
| 129 | //#define NO_ACTION_TAPPING | ||
| 130 | //#define NO_ACTION_ONESHOT | ||
| 131 | |||
| 132 | /* disable these deprecated features by default */ | ||
| 133 | #define NO_ACTION_MACRO | ||
| 134 | #define NO_ACTION_FUNCTION | ||
| 135 | |||
| 136 | /* Bootmagic Lite key configuration */ | ||
| 137 | //#define BOOTMAGIC_LITE_ROW 0 | ||
| 138 | //#define BOOTMAGIC_LITE_COLUMN 0 | ||
