Compare commits
32 Commits
Author | SHA1 | Date | |
---|---|---|---|
84b8cdc1a4 | |||
23d3ebd78a | |||
e6e501aaa0 | |||
c4710fa74b | |||
ea9fead229 | |||
9cc97302ab | |||
4c0ecd4910 | |||
1b6673de1f | |||
32c5c97ee3 | |||
fd86f8c94d | |||
d4b07be012 | |||
d8324e8a9c | |||
f9e21a654c | |||
f6a5731300 | |||
bcf2632a29 | |||
b12acfb630 | |||
47764132f1 | |||
a7bc02bf69 | |||
35a18a8bcd | |||
690a879d77 | |||
047fe0a8f9 | |||
b90d94755c | |||
5b5b36421a | |||
4ee33f1ffd | |||
097ae9d817 | |||
b29b482741 | |||
9beee82825 | |||
35b6d1e992 | |||
d4690d0c23 | |||
99c6829bf0 | |||
99ec5e39cf | |||
eaf17b3260 |
@ -24,7 +24,7 @@ The next Breaking Change is scheduled for February 26, 2022.
|
||||
|
||||
### Important Dates
|
||||
|
||||
* [x] 2022 Nov 27 - `develop` is tagged with a new release version. Each push to `master` is subsequently merged to `develop` by GitHub actions.
|
||||
* [x] 2021 Nov 27 - `develop` is tagged with a new release version. Each push to `master` is subsequently merged to `develop` by GitHub actions.
|
||||
* [ ] 2022 Jan 31 - `develop` closed to new PR's.
|
||||
* [ ] 2022 Jan 31 - Call for testers.
|
||||
* [ ] 2022 Feb 12 - Last day for merges -- after this point `develop` is locked for testing and accepts only bugfixes
|
||||
|
@ -27,5 +27,7 @@ Note that the array indices are reversed same as the matrix and the values are o
|
||||
|`SH_MON` |Swaps hands when pressed, returns to normal when released (momentary). |
|
||||
|`SH_MOFF` |Momentarily turns off swap. |
|
||||
|`SH_TG` |Toggles swap on and off with every key press. |
|
||||
|`SH_TT` |Toggles with a tap; momentary when held. |
|
||||
|`SH_TT` |Momentary swap when held, toggles with repeated taps (see below). |
|
||||
|`SH_OS` |One shot swap hands: toggles while pressed or until next key press. |
|
||||
|
||||
`SH_TT` swap-hands tap-toggle key is similar to [layer tap-toggle](feature_layers.md?id=switching-and-toggling-layers). Tapping repeatedly (5 taps by default) will toggle swap-hands on or off, like `SH_TG`. Tap-toggle count can be changed by defining a value for `TAPPING_TOGGLE`.
|
||||
|
@ -48,7 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define TAP_CODE_DELAY 10
|
||||
#define ENCODER_DIRECTION_FLIP
|
||||
#define ENCODER_RESOLUTION 4
|
||||
#define ENCODERS_PAD_A { D0 }
|
||||
#define ENCODERS_PAD_B { D1 }
|
||||
|
@ -107,7 +107,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||
#endif
|
||||
|
||||
/* oled stuff :) */
|
||||
#ifdef OLED_DRIVER_ENABLE
|
||||
#ifdef OLED_ENABLE
|
||||
#define IDLE_FRAMES 5
|
||||
#define IDLE_SPEED 20 // below this wpm value your animation will idle
|
||||
#define TAP_FRAMES 2
|
||||
|
@ -4,7 +4,7 @@ Macro keypad
|
||||
|
||||
* Keyboard Maintainer: [Conor Burns](https://github.com/conor-burns)
|
||||
* Hardware Supported: https://github.com/0xCB-dev/0xcb-static
|
||||
* Hardware Availability: Soon on tindie or order your own parts - the hardware in the repo is Open Source :D
|
||||
* Hardware Availability: On CandyKeys or order your own parts - the hardware in the repo is Open Source :D
|
||||
* PCB renders :)
|
||||
|
||||

|
||||
|
@ -15,3 +15,20 @@
|
||||
*/
|
||||
|
||||
#include "rev2.h"
|
||||
|
||||
#ifdef SWAP_HANDS_ENABLE
|
||||
__attribute__ ((weak))
|
||||
const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
|
||||
// Left
|
||||
{{4, 4}, {3, 4}, {2, 4}, {1, 4}, {0, 4}},
|
||||
{{4, 5}, {3, 5}, {2, 5}, {1, 5}, {0, 5}},
|
||||
{{4, 6}, {3, 6}, {2, 6}, {1, 6}, {0, 6}},
|
||||
{{4, 7}, {3, 7}, {2, 7}, {1, 7}, {0, 7}},
|
||||
// Right
|
||||
{{4, 0}, {3, 0}, {2, 0}, {1, 0}, {0, 0}},
|
||||
{{4, 1}, {3, 1}, {2, 1}, {1, 1}, {0, 1}},
|
||||
{{4, 2}, {3, 2}, {2, 2}, {1, 2}, {0, 2}},
|
||||
{{4, 3}, {3, 3}, {2, 3}, {1, 3}, {0, 3}}
|
||||
};
|
||||
#endif
|
||||
|
||||
|
90
keyboards/40percentclub/polyandry/config.h
Normal file
90
keyboards/40percentclub/polyandry/config.h
Normal file
@ -0,0 +1,90 @@
|
||||
/* Copyright 2021
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* USB Device descriptor parameter */
|
||||
#define VENDOR_ID 0xFEED
|
||||
#define PRODUCT_ID 0x6060
|
||||
#define DEVICE_VER 0x0001
|
||||
#define MANUFACTURER di0ib
|
||||
#define PRODUCT Polypad
|
||||
|
||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
||||
#define DEBOUNCE 5
|
||||
|
||||
//more detailed config options start below:
|
||||
|
||||
|
||||
/* define if matrix has ghost (lacks anti-ghosting diodes) */
|
||||
//#define MATRIX_HAS_GHOST
|
||||
|
||||
/* number of backlight levels */
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
#define LOCKING_RESYNC_ENABLE
|
||||
|
||||
/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
|
||||
* This is userful for the Windows task manager shortcut (ctrl+shift+esc).
|
||||
*/
|
||||
// #define GRAVE_ESC_CTRL_OVERRIDE
|
||||
|
||||
/*
|
||||
* Force NKRO
|
||||
*
|
||||
* Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
|
||||
* state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
|
||||
* makefile for this to work.)
|
||||
*
|
||||
* If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
|
||||
* until the next keyboard reset.
|
||||
*
|
||||
* NKRO may prevent your keystrokes from being detected in the BIOS, but it is
|
||||
* fully operational during normal computer usage.
|
||||
*
|
||||
* For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
|
||||
* or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
|
||||
* bootmagic, NKRO mode will always be enabled until it is toggled again during a
|
||||
* power-up.
|
||||
*
|
||||
*/
|
||||
//#define FORCE_NKRO
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
*/
|
||||
|
||||
/* disable debug print */
|
||||
//#define NO_DEBUG
|
||||
|
||||
/* disable print */
|
||||
//#define NO_PRINT
|
||||
|
||||
/* disable action features */
|
||||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
//#define NO_ACTION_MACRO
|
||||
//#define NO_ACTION_FUNCTION
|
||||
|
||||
/* Bootmagic Lite key configuration */
|
||||
// #define BOOTMAGIC_LITE_ROW 0
|
||||
// #define BOOTMAGIC_LITE_COLUMN 0
|
27
keyboards/40percentclub/polyandry/info.json
Normal file
27
keyboards/40percentclub/polyandry/info.json
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"keyboard_name": "Polyandry",
|
||||
"url": "",
|
||||
"maintainer": "QMK",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label": "k000", "x": 0, "y": 0},
|
||||
{"label": "k001", "x": 1, "y": 0},
|
||||
{"label": "k002", "x": 2, "y": 0},
|
||||
|
||||
{"label": "k003", "x": 0, "y": 1},
|
||||
{"label": "k004", "x": 1, "y": 1},
|
||||
{"label": "k005", "x": 2, "y": 1},
|
||||
|
||||
{"label": "k006", "x": 0, "y": 2},
|
||||
{"label": "k007", "x": 1, "y": 2},
|
||||
{"label": "k008", "x": 2, "y": 2},
|
||||
|
||||
{"label": "k009", "x": 0, "y": 3},
|
||||
{"label": "k010", "x": 1, "y": 3},
|
||||
{"label": "k011", "x": 2, "y": 3}
|
||||
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
30
keyboards/40percentclub/polyandry/keymaps/default/keymap.c
Normal file
30
keyboards/40percentclub/polyandry/keymaps/default/keymap.c
Normal file
@ -0,0 +1,30 @@
|
||||
/* Copyright 2021
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
LAYOUT(
|
||||
KC_1, KC_2, KC_3,
|
||||
KC_4, KC_5, KC_6,
|
||||
KC_7, KC_8, KC_9,
|
||||
KC_0, KC_A, KC_B
|
||||
),
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
16
keyboards/40percentclub/polyandry/polyandry.c
Normal file
16
keyboards/40percentclub/polyandry/polyandry.c
Normal file
@ -0,0 +1,16 @@
|
||||
/* Copyright 2021
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "polyandry.h"
|
24
keyboards/40percentclub/polyandry/polyandry.h
Normal file
24
keyboards/40percentclub/polyandry/polyandry.h
Normal file
@ -0,0 +1,24 @@
|
||||
/* Copyright 2021
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#ifdef KEYBOARD_40percentclub_polyandry_promicro
|
||||
#include "promicro.h"
|
||||
#elif KEYBOARD_40percentclub_polyandry_teensy2
|
||||
#include "teensy2.h"
|
||||
#endif
|
34
keyboards/40percentclub/polyandry/promicro/config.h
Normal file
34
keyboards/40percentclub/polyandry/promicro/config.h
Normal file
@ -0,0 +1,34 @@
|
||||
/* Copyright 2021
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 1
|
||||
#define MATRIX_COLS 12
|
||||
|
||||
/* key matrix pins
|
||||
* Direct pins is not used because there is not a shared ground position
|
||||
* between all compatible microcontrollers.
|
||||
*/
|
||||
#define MATRIX_ROW_PINS { D7 }
|
||||
#define MATRIX_COL_PINS { D1, D0, D4, C6, E6, B4, F4, F5, F6, F7, B3, B2 }
|
||||
#define UNUSED_PINS
|
||||
|
||||
/* doesn't really matter lol */
|
||||
#define DIODE_DIRECTION COL2ROW
|
16
keyboards/40percentclub/polyandry/promicro/promicro.c
Normal file
16
keyboards/40percentclub/polyandry/promicro/promicro.c
Normal file
@ -0,0 +1,16 @@
|
||||
/* Copyright 2021
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "promicro.h"
|
27
keyboards/40percentclub/polyandry/promicro/promicro.h
Normal file
27
keyboards/40percentclub/polyandry/promicro/promicro.h
Normal file
@ -0,0 +1,27 @@
|
||||
/* Copyright 2021
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "polyandry.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
K000, K001, K002, \
|
||||
K003, K004, K005, \
|
||||
K006, K007, K008, \
|
||||
K009, K010, K011 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 } \
|
||||
}
|
5
keyboards/40percentclub/polyandry/promicro/rules.mk
Normal file
5
keyboards/40percentclub/polyandry/promicro/rules.mk
Normal file
@ -0,0 +1,5 @@
|
||||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = caterina
|
53
keyboards/40percentclub/polyandry/readme.md
Normal file
53
keyboards/40percentclub/polyandry/readme.md
Normal file
@ -0,0 +1,53 @@
|
||||
# Polyandry/polypad
|
||||
|
||||

|
||||
===
|
||||
|
||||
3x4/4x3 grid layout, multiple controllers supported
|
||||
- Pro Micro
|
||||
- PJRC Teensy 2.0
|
||||
|
||||
(**The below are not currently ported:**)
|
||||
|
||||
- PJRC Teensy LC/3.2
|
||||
- PJRC Teensy 3.5/3.6
|
||||
- Adafruit ItsyBitsy ATMega32u4
|
||||
- Adafruit ItsyBitsy M0
|
||||
- Adafruit ItsyBitsy M4
|
||||
|
||||
The matrix is electrically 1x12 with no diodes, with a thirteenth pin used for the column rather than a ground in order to be compatible with all the listed microcontrollers..
|
||||
|
||||
The default keymap is a testing keymap that is intended to make sure all of the keys on the matrix are working and properly assigned.
|
||||
|
||||
[The original (minimal arduino sketch) firmware, with support for some unsupported controllers](https://git.40percent.club/di0ib/Misc/src/branch/master/polyandry)
|
||||
|
||||
Keyboard Maintainer: QMK Community
|
||||
Hardware Supported: Polyandry PCB
|
||||
Hardware Availability: [Polyandry gerbers are on 40percent.club](https://www.40percent.club/2019/07/polyandry.html)
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make 40percentclub/polyandry:default
|
||||
or
|
||||
qmk compile -kb 40percentclub/polyandry -km default
|
||||
|
||||
Default firmware is for an Arduino Pro Micro knockoff.
|
||||
|
||||
If you would like to specify a controller:
|
||||
|
||||
make 40percentclub/polyandry/promicro:default
|
||||
or
|
||||
qmk compile -kb 40percentclub/polyandry/promicro -km default
|
||||
make 40percentclub/polyandry/teensy2:default
|
||||
or
|
||||
qmk compile -kb 40percentclub/polyandry/teensy2 -km default
|
||||
|
||||
## Bootloader
|
||||
|
||||
Enter the bootloader in 3 ways:
|
||||
|
||||
* **Bootmagic reset**: Hold down the top left key of the keyboard (top right or bottom left in horizontal configuration)
|
||||
* **Physical reset**: Briefly press the button on the bottom of the microcontroller or, if not present short the pin marked RST to a GND.
|
||||
* **Keycode in layout**: Press the key mapped to `RESET` if it is available
|
||||
|
||||
See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
|
17
keyboards/40percentclub/polyandry/rules.mk
Normal file
17
keyboards/40percentclub/polyandry/rules.mk
Normal file
@ -0,0 +1,17 @@
|
||||
# Build Options
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
|
||||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
|
||||
# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
|
||||
NKRO_ENABLE = no # USB Nkey Rollover
|
||||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
||||
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
||||
AUDIO_ENABLE = no # Audio output
|
||||
|
||||
DEFAULT_FOLDER = 40percentclub/polyandry/promicro
|
36
keyboards/40percentclub/polyandry/teensy2/config.h
Normal file
36
keyboards/40percentclub/polyandry/teensy2/config.h
Normal file
@ -0,0 +1,36 @@
|
||||
/* Copyright 2021
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 1
|
||||
#define MATRIX_COLS 12
|
||||
|
||||
/* key matrix pins */
|
||||
|
||||
// Note from original contributor (ryjelsum):
|
||||
// Untested - don't have teensy2. if some keys do not function or are in wrong place,
|
||||
// please check the pin definitions. I may have screwed up. :)
|
||||
|
||||
#define MATRIX_ROW_PINS { D3 }
|
||||
#define MATRIX_COL_PINS { B7, D0, D1, D2, C6, C7, F6, F7, B6, B5, D7, D6 }
|
||||
#define UNUSED_PINS
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
5
keyboards/40percentclub/polyandry/teensy2/rules.mk
Normal file
5
keyboards/40percentclub/polyandry/teensy2/rules.mk
Normal file
@ -0,0 +1,5 @@
|
||||
# MCU name
|
||||
MCU = atmega32u4
|
||||
|
||||
# Bootloader selection
|
||||
BOOTLOADER = halfkay
|
16
keyboards/40percentclub/polyandry/teensy2/teensy2.c
Normal file
16
keyboards/40percentclub/polyandry/teensy2/teensy2.c
Normal file
@ -0,0 +1,16 @@
|
||||
/* Copyright 2021
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "teensy2.h"
|
32
keyboards/40percentclub/polyandry/teensy2/teensy2.h
Normal file
32
keyboards/40percentclub/polyandry/teensy2/teensy2.h
Normal file
@ -0,0 +1,32 @@
|
||||
/* Copyright 2021
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
//NOTE TO FUTURE FROM RYJELSUM (original contributor):
|
||||
//This has been unchanged from the promicro.h file.
|
||||
//I DO NOT HAVE A TEENSY 2.0 TO TEST WITH.
|
||||
//I believe this should still work - but it's not a sure thing.
|
||||
|
||||
#include "polyandry.h"
|
||||
|
||||
#define LAYOUT( \
|
||||
K000, K001, K002, \
|
||||
K003, K004, K005, \
|
||||
K006, K007, K008, \
|
||||
K009, K010, K011 \
|
||||
) { \
|
||||
{ K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 } \
|
||||
}
|
@ -1,4 +1,8 @@
|
||||
/* Copyright 2018-2020 ENDO Katsuhiro <ka2hiro@curlybracket.co.jp> David Philip Barr <@davidphilipbarr> Pierre Chevalier <pierrechevalier83@gmail.com>
|
||||
/* Copyright 2018-2020
|
||||
* ENDO Katsuhiro <ka2hiro@curlybracket.co.jp>
|
||||
* David Philip Barr <@davidphilipbarr>
|
||||
* Pierre Chevalier <pierrechevalier83@gmail.com>
|
||||
* @filterpaper
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -14,3 +18,20 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "a_dux.h"
|
||||
|
||||
#ifdef SWAP_HANDS_ENABLE
|
||||
__attribute__ ((weak))
|
||||
const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
|
||||
// Left
|
||||
{{4, 4}, {3, 4}, {2, 4}, {1, 4}, {0, 4}},
|
||||
{{4, 5}, {3, 5}, {2, 5}, {1, 5}, {0, 5}},
|
||||
{{4, 6}, {3, 6}, {2, 6}, {1, 6}, {0, 6}},
|
||||
{{1, 7}, {0, 7}, {2, 7}, {3, 7}, {4, 7}},
|
||||
// Right
|
||||
{{4, 0}, {3, 0}, {2, 0}, {1, 0}, {0, 0}},
|
||||
{{4, 1}, {3, 1}, {2, 1}, {1, 1}, {0, 1}},
|
||||
{{4, 2}, {3, 2}, {2, 2}, {1, 2}, {0, 2}},
|
||||
{{1, 3}, {0, 3}, {2, 3}, {3, 3}, {4, 3}}
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@ -28,7 +28,7 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to
|
||||
|
||||
## Setting Handedness
|
||||
|
||||
Keyboard uses [handedness by EEPROM](https://docs.qmk.fm/#/feature_split_keyboard?id=handedness-by-eeprom) as default. The make commands are:
|
||||
Firmware uses [handedness by EEPROM](https://docs.qmk.fm/#/feature_split_keyboard?id=handedness-by-eeprom) as default and it must be *configured once* on each side. The make commands are:
|
||||
|
||||
make a_dux:default:dfu-split-left
|
||||
make a_dux:default:dfu-split-right
|
||||
|
@ -8,7 +8,7 @@ BOOTLOADER = atmel-dfu
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = no # Mouse keys
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
|
@ -8,7 +8,7 @@ BOOTLOADER = atmel-dfu
|
||||
# change yes to no to disable
|
||||
#
|
||||
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
|
||||
MOUSEKEY_ENABLE = no # Mouse keys
|
||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||
CONSOLE_ENABLE = no # Console for debug
|
||||
COMMAND_ENABLE = no # Commands for debug and configuration
|
||||
|
@ -2,6 +2,7 @@
|
||||
* ENDO Katsuhiro <ka2hiro@curlybracket.co.jp>
|
||||
* David Philip Barr <@davidphilipbarr>
|
||||
* Pierre Chevalier <pierrechevalier83@gmail.com>
|
||||
* @filterpaper
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -18,3 +19,20 @@
|
||||
*/
|
||||
|
||||
#include "cradio.h"
|
||||
|
||||
#ifdef SWAP_HANDS_ENABLE
|
||||
__attribute__ ((weak))
|
||||
const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
|
||||
// Left
|
||||
{{4, 4}, {3, 4}, {2, 4}, {1, 4}, {0, 4}},
|
||||
{{4, 5}, {3, 5}, {2, 5}, {1, 5}, {0, 5}},
|
||||
{{4, 6}, {3, 6}, {2, 6}, {1, 6}, {0, 6}},
|
||||
{{1, 7}, {0, 7}, {2, 7}, {3, 7}, {4, 7}},
|
||||
// Right
|
||||
{{4, 0}, {3, 0}, {2, 0}, {1, 0}, {0, 0}},
|
||||
{{4, 1}, {3, 1}, {2, 1}, {1, 1}, {0, 1}},
|
||||
{{4, 2}, {3, 2}, {2, 2}, {1, 2}, {0, 2}},
|
||||
{{1, 3}, {0, 3}, {2, 3}, {3, 3}, {4, 3}}
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@ -8,7 +8,8 @@ Cradio are low-profile 34-key split-keyboards designed by [@davidphilipbarr](htt
|
||||
|
||||
* Keyboard Maintainer: [davidphilipbarr](https://github.com/davidphilipbarr)
|
||||
* Hardware Supported:
|
||||
* [Sweep](https://github.com/davidphilipbarr/Sweep) (all versions)
|
||||
* [Cradio](https://github.com/davidphilipbarr/36keys/tree/master/34Keys)
|
||||
* [Sweep](https://github.com/davidphilipbarr/Sweep)
|
||||
* [Hypergarlic](https://github.com/davidphilipbarr/hypergolic/tree/main/hypergarlic)
|
||||
* [Paroxysm](https://github.com/davidphilipbarr/hypergolic/tree/main/paroxysm)
|
||||
* Variants of the same 34-key direct pin PCB
|
||||
@ -22,7 +23,7 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to
|
||||
|
||||
## Setting Handedness
|
||||
|
||||
Keyboard uses [handedness by EEPROM](https://docs.qmk.fm/#/feature_split_keyboard?id=handedness-by-eeprom) as default. The make commands are:
|
||||
Firmware uses [handedness by EEPROM](https://docs.qmk.fm/#/feature_split_keyboard?id=handedness-by-eeprom) as default and it must be *configured once* on each side. The make commands are:
|
||||
|
||||
make cradio:default:dfu-split-left
|
||||
make cradio:default:dfu-split-right
|
||||
@ -36,3 +37,24 @@ Enter the bootloader in 3 ways:
|
||||
* **Bootmagic reset**: Hold down the top left key on the left half (or the top right right key on the right half) and plug in the controller on that side.
|
||||
* **Physical reset button**: Briefly press the reset button soldered on the PCB.
|
||||
* **Keycode in layout**: Press the key mapped to `RESET` if it is configured.
|
||||
|
||||
## Swapped Pins
|
||||
|
||||
If you have one of the PCB variant with swapped letters `Q` and `B` / `P` and `N`, add the following code to your keymap's `config.h` to swap pins `E6` and `D7` in the firmware:
|
||||
```c
|
||||
#undef DIRECT_PINS
|
||||
#define DIRECT_PINS { \
|
||||
{ D7, F7, F6, F5, F4 }, \
|
||||
{ B1, B3, B2, B6, D3 }, \
|
||||
{ D1, D0, D4, C6, E6 }, \
|
||||
{ B4, B5, NO_PIN, NO_PIN, NO_PIN } \
|
||||
}
|
||||
#undef DIRECT_PINS_RIGHT
|
||||
#define DIRECT_PINS_RIGHT { \
|
||||
{ F4, F5, F6, F7, D7 }, \
|
||||
{ D3, B6, B2, B3, B1 }, \
|
||||
{ E6, C6, D4, D0, D1 }, \
|
||||
{ B5, B4, NO_PIN, NO_PIN, NO_PIN } \
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -67,3 +67,8 @@ void rgb_matrix_indicators_user(void)
|
||||
rgb_matrix_set_color(22, 200, 0, 200);
|
||||
}
|
||||
}
|
||||
|
||||
void keyboard_pre_init_user(void) {
|
||||
setPinOutput(B5);
|
||||
writePinLow(B5);
|
||||
}
|
@ -8,9 +8,8 @@ A version of the Ferris keyboard that uses a daughterboard, designed by the fant
|
||||
## Keyboard Info
|
||||
|
||||
* Keyboard Maintainer: [Pierre Chevalier](https://github.com/pierrechevalier83)
|
||||
* Hardware Supported:
|
||||
* Ferris sweep (With pro-micro. Comes in a couple of PCB edge cuts shapes, but with identical pinout)
|
||||
* Hardware Availability: @iamnotyourbroom in the 40% discord chat server may have some spares for you.
|
||||
* Hardware Supported: [Sweep](https://github.com/davidphilipbarr/Sweep) (all versions)
|
||||
* Hardware Availability: Print the PCB with gerber files from the repository
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
@ -20,7 +19,7 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to
|
||||
|
||||
## Setting Handedness
|
||||
|
||||
Keyboard uses [handedness by EEPROM](https://docs.qmk.fm/#/feature_split_keyboard?id=handedness-by-eeprom) as default. The make commands are:
|
||||
Firmware uses [handedness by EEPROM](https://docs.qmk.fm/#/feature_split_keyboard?id=handedness-by-eeprom) as default and it must be *configured once* on each side. The make commands are:
|
||||
|
||||
make ferris/sweep:default:avrdude-split-left
|
||||
make ferris/sweep:default:avrdude-split-right
|
||||
@ -35,3 +34,22 @@ Enter the bootloader in 3 ways:
|
||||
* **Physical reset button**: Briefly press the reset button soldered on the PCB.
|
||||
* **Keycode in layout**: Press the key mapped to `RESET` if it is configured.
|
||||
|
||||
## Swapped Pins
|
||||
|
||||
If you printed one of the PCB variant with swapped letters `Q` and `B` / `P` and `N`, add the following code to your keymap's `config.h` to swap pins `E6` and `D7` in the firmware:
|
||||
```c
|
||||
#undef DIRECT_PINS
|
||||
#define DIRECT_PINS { \
|
||||
{ D7, F7, F6, F5, F4 }, \
|
||||
{ B1, B3, B2, B6, D3 }, \
|
||||
{ D1, D0, D4, C6, E6 }, \
|
||||
{ B4, B5, NO_PIN, NO_PIN, NO_PIN } \
|
||||
}
|
||||
#undef DIRECT_PINS_RIGHT
|
||||
#define DIRECT_PINS_RIGHT { \
|
||||
{ F4, F5, F6, F7, D7 }, \
|
||||
{ D3, B6, B2, B3, B1 }, \
|
||||
{ E6, C6, D4, D0, D1 }, \
|
||||
{ B5, B4, NO_PIN, NO_PIN, NO_PIN } \
|
||||
}
|
||||
```
|
||||
|
@ -14,3 +14,20 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "sweep.h"
|
||||
|
||||
#ifdef SWAP_HANDS_ENABLE
|
||||
__attribute__ ((weak))
|
||||
const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
|
||||
// Left
|
||||
{{4, 4}, {3, 4}, {2, 4}, {1, 4}, {0, 4}},
|
||||
{{4, 5}, {3, 5}, {2, 5}, {1, 5}, {0, 5}},
|
||||
{{4, 6}, {3, 6}, {2, 6}, {1, 6}, {0, 6}},
|
||||
{{1, 7}, {0, 7}, {2, 7}, {3, 7}, {4, 7}},
|
||||
// Right
|
||||
{{4, 0}, {3, 0}, {2, 0}, {1, 0}, {0, 0}},
|
||||
{{4, 1}, {3, 1}, {2, 1}, {1, 1}, {0, 1}},
|
||||
{{4, 2}, {3, 2}, {2, 2}, {1, 2}, {0, 2}},
|
||||
{{1, 3}, {0, 3}, {2, 3}, {3, 3}, {4, 3}}
|
||||
};
|
||||
#endif
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user