forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: woodpecker keyboard, from enderpiyale's fork
- Loading branch information
Showing
14 changed files
with
3,673 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Copyright 2024 Ender Piyale (@enderpiyale) | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
#pragma once | ||
|
||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET | ||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_LED GP25 | ||
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 1000U | ||
|
||
/* OLED DRIVER CONFIG */ | ||
#define OLED_DISPLAY_128X64 | ||
//#define OLED_IC OLED_IC_SH1107 | ||
#define OLED_PRE_CHARGE_PERIOD 0x22 | ||
#define OLED_VCOM_DETECT 0x35 | ||
#define OLED_TIMEOUT 30000 | ||
#define OLED_FADE_OUT_INTERVAL 15 | ||
#define OLED_BRIGHTNESS 128 | ||
|
||
#define I2C_DRIVER I2CD0 | ||
#define I2C1_SCL_PIN GP13 | ||
#define I2C1_SDA_PIN GP12 | ||
|
||
#define CIRQUE_PINNACLE_DIAMETER_MM 40 | ||
#define CIRQUE_PINNACLE_TAP_ENABLE | ||
#define POINTING_DEVICE_GESTURES_SCROLL_ENABLE | ||
#define CIRQUE_PINNACLE_CURVED_OVERLAY | ||
#define CIRQUE_PINNACLE_SECONDARY_TAP_ENABLE | ||
//#define CIRQUE_PINNACLE_ATTENUATION EXTREG__TRACK_ADCCONFIG__ADC_ATTENUATE_4X | ||
#define POINTING_DEVICE_ROTATION_90 | ||
|
||
/* | ||
#define POINTING_DEVICE_ROTATION_90 | ||
#define POINTING_DEVICE_INVERT_X | ||
#define POINTING_DEVICE_INVERT_Y | ||
*/ | ||
|
||
/* 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#pragma once | ||
|
||
#define HAL_USE_I2C TRUE | ||
|
||
#include_next <halconf.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
{ | ||
"manufacturer": "--", | ||
"keyboard_name": "woodpecker", | ||
"maintainer": "--", | ||
"bootloader": "rp2040", | ||
"processor": "RP2040", | ||
"board": "GENERIC_RP_RP2040", | ||
"diode_direction": "COL2ROW", | ||
"features": { | ||
"bootmagic": true, | ||
"command": false, | ||
"console": false, | ||
"extrakey": true, | ||
"mousekey": true, | ||
"nkro": true | ||
}, | ||
"matrix_pins": { | ||
"cols": ["GP0", "GP1", "GP4", "GP5", "GP6", "GP8", "GP20", "GP22", "GP26", "GP27", "GP28", "GP29" ], | ||
"rows": ["GP7", "GP9", "GP2", "GP3", "GP21"] | ||
}, | ||
"usb": { | ||
"device_version": "1.0.0", | ||
"pid": "0x0001", | ||
"vid": "0x0666" | ||
}, | ||
"layout_aliases": { | ||
"LAYOUT_woodpecker": "LAYOUT" | ||
}, | ||
"layouts": { | ||
"LAYOUT": { | ||
"layout": [ | ||
{"matrix": [0, 0], "x": 0, "y": 0}, | ||
{"matrix": [0, 1], "x": 1, "y": 0}, | ||
{"matrix": [0, 2], "x": 2, "y": 0}, | ||
{"matrix": [0, 3], "x": 3, "y": 0}, | ||
{"matrix": [0, 4], "x": 4, "y": 0}, | ||
{"matrix": [0, 5], "x": 5, "y": 0}, | ||
{"matrix": [0, 6], "x": 6, "y": 0}, | ||
{"matrix": [0, 7], "x": 7, "y": 0}, | ||
{"matrix": [0, 8], "x": 8, "y": 0}, | ||
{"matrix": [0, 9], "x": 9, "y": 0}, | ||
{"matrix": [0, 10], "x": 10, "y": 0}, | ||
{"matrix": [0, 11], "x": 11, "y": 0}, | ||
|
||
{"matrix": [1, 0], "x": 0, "y": 1}, | ||
{"matrix": [1, 1], "x": 1, "y": 1}, | ||
{"matrix": [1, 2], "x": 2, "y": 1}, | ||
{"matrix": [1, 3], "x": 3, "y": 1}, | ||
{"matrix": [1, 4], "x": 4, "y": 1}, | ||
{"matrix": [1, 5], "x": 5, "y": 1}, | ||
{"matrix": [1, 6], "x": 6, "y": 1}, | ||
{"matrix": [1, 7], "x": 7, "y": 1}, | ||
{"matrix": [1, 8], "x": 8, "y": 1}, | ||
{"matrix": [1, 9], "x": 9, "y": 1}, | ||
{"matrix": [1, 10], "x": 10, "y": 1}, | ||
{"matrix": [1, 11], "x": 11, "y": 1}, | ||
|
||
{"matrix": [2, 0], "x": 0, "y": 2}, | ||
{"matrix": [2, 1], "x": 1, "y": 2}, | ||
{"matrix": [2, 2], "x": 2, "y": 2}, | ||
{"matrix": [2, 3], "x": 3, "y": 2}, | ||
{"matrix": [2, 4], "x": 4, "y": 2}, | ||
{"matrix": [2, 5], "x": 5, "y": 2}, | ||
{"matrix": [2, 6], "x": 6, "y": 2}, | ||
{"matrix": [2, 7], "x": 7, "y": 2}, | ||
{"matrix": [2, 8], "x": 8, "y": 2}, | ||
{"matrix": [2, 9], "x": 9, "y": 2}, | ||
{"matrix": [2, 10], "x": 10, "y": 2}, | ||
{"matrix": [2, 11], "x": 11, "y": 2}, | ||
|
||
{"matrix": [3, 0], "x": 0, "y": 3}, | ||
{"matrix": [3, 1], "x": 1, "y": 3}, | ||
{"matrix": [3, 2], "x": 2, "y": 3}, | ||
{"matrix": [3, 3], "x": 3, "y": 3}, | ||
{"matrix": [3, 4], "x": 4, "y": 3}, | ||
{"matrix": [3, 5], "x": 5, "y": 3}, | ||
{"matrix": [3, 6], "x": 6, "y": 3}, | ||
{"matrix": [3, 7], "x": 7, "y": 3}, | ||
{"matrix": [3, 8], "x": 8, "y": 3}, | ||
{"matrix": [3, 9], "x": 9, "y": 3}, | ||
{"matrix": [3, 10], "x": 10, "y": 3}, | ||
{"matrix": [3, 11], "x": 11, "y": 3}, | ||
|
||
{"matrix": [4, 0], "x": 0, "y": 4}, | ||
{"matrix": [4, 1], "x": 1, "y": 4}, | ||
{"matrix": [4, 2], "x": 2, "y": 4}, | ||
{"matrix": [4, 3], "x": 3, "y": 4}, | ||
{"matrix": [4, 4], "x": 4, "y": 4}, | ||
{"matrix": [4, 5], "x": 5, "y": 4}, | ||
{"matrix": [4, 6], "x": 6, "y": 4}, | ||
{"matrix": [4, 7], "x": 7, "y": 4}, | ||
{"matrix": [4, 8], "x": 8, "y": 4}, | ||
{"matrix": [4, 9], "x": 9, "y": 4}, | ||
{"matrix": [4, 10], "x": 10, "y": 4}, | ||
{"matrix": [4, 11], "x": 11, "y": 4} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Copyright 2023 QMK | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
#include QMK_KEYBOARD_H | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
/* | ||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ | ||
* │ A │ B │ C │ D │ E │ F │ G │ H │ I │ J │ K │ L │ | ||
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ | ||
* │ A │ B │ C │ D │ E │ F │ G │ H │ I │ J │ K │ L │ | ||
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ | ||
* │ A │ B │ C │ D │ E │ F │ G │ H │ I │ J │ K │ L │ | ||
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ | ||
* │ A │ B │ C │ D │ E │ F │ G │ H │ I │ J │ K │ L │ | ||
* ├───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┼───┤ | ||
* │ A │ B │ C │ D │ E │ F │ G │ H │ I │ J │ K │ L │ | ||
* └───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘ | ||
*/ | ||
[0] = LAYOUT_ortho_5x12( | ||
KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_J, KC_K, KC_L, | ||
KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_J, KC_K, KC_L, | ||
KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_J, KC_K, KC_L, | ||
KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_J, KC_K, KC_L, | ||
KC_A, KC_B, KC_C, KC_D, KC_E, KC_F, KC_G, KC_H, KC_I, KC_J, KC_K, KC_L | ||
) | ||
}; |
Oops, something went wrong.