2 Copyright 2012 Jun Wako <wakojun@gmail.com>
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
21 #include "config_common.h"
23 /* USB Device descriptor parameter */
24 #define VENDOR_ID 0xFEED
25 #define PRODUCT_ID 0x6060
26 #define DEVICE_VER 0x0001
27 #define MANUFACTURER Microsoftplus
28 #define DESCRIPTION 6000
32 #define MATRIX_COLS 18
35 #define PRODUCT sculpt mobile astar
36 /*0 1 2 3 4 5 6 7 8 */
37 #define MATRIX_ROW_PINS {D7, C6, D4, D0, D1, D3, D2, E2}
38 /* A B C D E F G H I J K L M N O P Q R */
39 #define MATRIX_COL_PINS {B4, B5, E6, B7, B6, D6, C7, F7, F6, F4,F5, F1,F0, D5, B0, B1, B2, B3}
42 #define PRODUCT sculpt mobile teensypp
44 #define MATRIX_ROW_PINS { F7,F6,F4,F5,F3,F2,F1,F0}
45 /* A B C D E F G H I J K L M N O P Q R */
46 #define MATRIX_COL_PINS { B7, D0, D1, D2, D3, D4, D5, D6, D7, E0,E1,C1, C0, C3, C2, C5, C4,C7}
47 #define UNUSED_PINS { B6,B5,B4,B3,B2,B1,B0 }
51 /* COL2ROW or ROW2COL */
52 #define DIODE_DIRECTION ROW2COL
54 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
57 /* define if matrix has ghost (lacks anti-ghosting diodes) */
58 //#define MATRIX_HAS_GHOST
63 * Magic keys are hotkey commands that allow control over firmware functions of
64 * the keyboard. They are best used in combination with the HID Listen program,
65 * found here: https://www.pjrc.com/teensy/hid_listen.html
67 * The options below allow the magic key functionality to be changed. This is
68 * useful if your keyboard/keypad is missing keys and you want magic key support.
73 * Feature disable options
74 * These options are also useful to firmware size reduction.
77 /* disable debug print */
83 /* disable action features */
84 //#define NO_ACTION_LAYER
85 //#define NO_ACTION_TAPPING
86 //#define NO_ACTION_ONESHOT
87 //#define NO_ACTION_MACRO
88 //#define NO_ACTION_FUNCTION