Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added Polly40 keyboard #19936

Merged
merged 30 commits into from
Mar 1, 2023
Merged
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
ad68b0f
added my keyboard
Feb 25, 2023
de72be2
Fixed depriciated values
Feb 25, 2023
ac7e94d
fixed QK_BOOT in keymap
Feb 25, 2023
cc42d31
Update keyboards/handwired/polly40/config.h
PollyV1 Feb 25, 2023
7f109a5
Update keyboards/handwired/polly40/config.h
PollyV1 Feb 25, 2023
0b3afc9
Update keyboards/handwired/polly40/rules.mk
PollyV1 Feb 25, 2023
85815b6
Update keyboards/handwired/polly40/polly40.h
PollyV1 Feb 25, 2023
a4b8d02
Update keyboards/handwired/polly40/info.json
PollyV1 Feb 25, 2023
865172f
Update keyboards/handwired/polly40/rules.mk
PollyV1 Feb 25, 2023
b0a1f8e
Update keyboards/handwired/polly40/readme.md
PollyV1 Feb 25, 2023
7545f63
Update keyboards/handwired/polly40/config.h
PollyV1 Feb 25, 2023
e60918e
Added name in copyright
Feb 25, 2023
d9f3bde
Merge branch 'master' of https://github.com/PollyV1/qmk_firmware
Feb 25, 2023
ea61c8e
added via keymap
Feb 25, 2023
887818b
Replaced reset with QK Boot
Feb 25, 2023
e303081
Update keyboards/handwired/polly40/config.h
PollyV1 Feb 26, 2023
97e23bd
Update keyboards/handwired/polly40/info.json
PollyV1 Feb 26, 2023
4d09b9d
Edited readme.md according to template
Feb 26, 2023
317441e
Merge branch 'master' of https://github.com/PollyV1/qmk_firmware
Feb 26, 2023
6917bbc
Edited readme.md according to template
Feb 26, 2023
d945581
Edited config.h
Feb 26, 2023
a73d6a4
Update keyboards/handwired/polly40/keymaps/default/keymap.c
PollyV1 Feb 27, 2023
7866301
Update keyboards/handwired/polly40/keymaps/via/keymap.c
PollyV1 Feb 27, 2023
4c5c700
Update keyboards/handwired/polly40/rules.mk
PollyV1 Feb 27, 2023
f3467af
Applied the suggestions
Feb 27, 2023
3345d7a
Delete keyboards/handwired/polly40/.vscode directory
PollyV1 Feb 27, 2023
0f777fc
Update keyboards/handwired/polly40/readme.md
PollyV1 Feb 27, 2023
8dc27e1
Removed polly40.c and polly40.h
Mar 1, 2023
80d2f2d
reverted polly.c and polly.h
Mar 1, 2023
0091cdc
fixed info.json
Mar 1, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions keyboards/handwired/polly40/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/* Copyright 2023 PAUL ENRICO N. VIOLA
*
* 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

#define MATRIX_ROW_PINS { F0, F1, F5, B4 }
#define MATRIX_COL_PINS { F4, D7, B5, B6, C6, C7, D4, D6, D5, D0, D1, D2 }

/* 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

// generated by KBFirmware JSON to QMK Parser
// https://noroadsleft.github.io/kbf_qmk_converter/
69 changes: 69 additions & 0 deletions keyboards/handwired/polly40/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"keyboard_name": "polly40 v2",
"manufacturer": "paul",
"url": "https://github.com/PollyV1",
"maintainer": "Paul Enrico N. Viola",
"usb": {
"vid": "0x6532",
"pid": "0x0069",
"device_version": "0.0.1"
},
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
},
PollyV1 marked this conversation as resolved.
Show resolved Hide resolved
"processor": "atmega32u4",
"bootloader": "caterina",
PollyV1 marked this conversation as resolved.
Show resolved Hide resolved
"diode_direction": "COL2ROW",
"layouts": {
"LAYOUT": {
"layout": [
{ "label": "K00 (F0,F4)", "x": 0, "y": 0 },
{ "label": "K01 (F0,D7)", "x": 1, "y": 0 },
{ "label": "K02 (F0,B5)", "x": 2, "y": 0 },
{ "label": "K03 (F0,B6)", "x": 3, "y": 0 },
{ "label": "K04 (F0,C6)", "x": 4, "y": 0 },
{ "label": "K05 (F0,C7)", "x": 5, "y": 0 },
{ "label": "K06 (F0,D4)", "x": 6, "y": 0 },
{ "label": "K07 (F0,D6)", "x": 7, "y": 0 },
{ "label": "K08 (F0,D5)", "x": 8, "y": 0 },
{ "label": "K09 (F0,D0)", "x": 9, "y": 0 },
{ "label": "K0A (F0,D1)", "x": 10, "y": 0 },
{ "label": "K0B (F0,D2)", "x": 11, "y": 0 },
{ "label": "K10 (F1,F4)", "x": 0, "y": 1, "w": 1.25 },
{ "label": "K11 (F1,D7)", "x": 1.25, "y": 1 },
{ "label": "K12 (F1,B5)", "x": 2.25, "y": 1 },
{ "label": "K13 (F1,B6)", "x": 3.25, "y": 1 },
{ "label": "K14 (F1,C6)", "x": 4.25, "y": 1 },
{ "label": "K15 (F1,C7)", "x": 5.25, "y": 1 },
{ "label": "K16 (F1,D4)", "x": 6.25, "y": 1 },
{ "label": "K17 (F1,D6)", "x": 7.25, "y": 1 },
{ "label": "K18 (F1,D5)", "x": 8.25, "y": 1 },
{ "label": "K19 (F1,D0)", "x": 9.25, "y": 1 },
{ "label": "K1B (F1,D2)", "x": 10.25, "y": 1, "w": 1.75 },
{ "label": "K20 (F5,F4)", "x": 0, "y": 2, "w": 1.75 },
{ "label": "K22 (F5,B5)", "x": 1.75, "y": 2 },
{ "label": "K23 (F5,B6)", "x": 2.75, "y": 2 },
{ "label": "K24 (F5,C6)", "x": 3.75, "y": 2 },
{ "label": "K25 (F5,C7)", "x": 4.75, "y": 2 },
{ "label": "K26 (F5,D4)", "x": 5.75, "y": 2 },
{ "label": "K27 (F5,D6)", "x": 6.75, "y": 2 },
{ "label": "K28 (F5,D5)", "x": 7.75, "y": 2 },
{ "label": "K29 (F5,D0)", "x": 8.75, "y": 2 },
{ "label": "K2A (F5,D1)", "x": 9.75, "y": 2, "w": 1.25 },
{ "label": "K2B (F5,D2)", "x": 11, "y": 2 },
{ "label": "K30 (B4,F4)", "x": 0, "y": 3, "w": 1.25 },
{ "label": "K31 (B4,D7)", "x": 1.25, "y": 3 },
{ "label": "K32 (B4,B5)", "x": 2.25, "y": 3 },
{ "label": "K36 (B4,D4)", "x": 3.25, "y": 3, "w": 6.25 },
{ "label": "K3A (B4,D1)", "x": 9.5, "y": 3, "w": 1.25 },
{ "label": "K3B (B4,D2)", "x": 10.75, "y": 3, "w": 1.25 }
]
}
}
,"meta": "https://noroadsleft.github.io/kbf_qmk_converter/"
}
49 changes: 49 additions & 0 deletions keyboards/handwired/polly40/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/* Copyright 2021 PAUL ENRICO N. VIOLA
*
* 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] = {

[0] = LAYOUT(
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_DOT, KC_RSFT, MO(3),
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(2), MO(1)
),

[1] = LAYOUT(
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_ENT,
KC_PSCR, KC_MPLY, KC_VOLD, KC_VOLU, KC_INS, KC_DEL, KC_COMM, KC_DOT, KC_SLSH, KC_PGUP, MO(0),
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_PGDN, KC_HOME
),

[2] = LAYOUT(
KC_ESC, KC_1, KC_2, KC_3, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_INS,
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_UP, KC_DEL,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_LEFT, KC_DOWN, KC_RGHT, MO(0),
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_HOME, _______
PollyV1 marked this conversation as resolved.
Show resolved Hide resolved
),

[3] = LAYOUT(
QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, KC_MINS, KC_EQL, _______,
KC_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, KC_BSLS,
_______, _______, _______, _______, _______, _______, KC_SCLN, KC_QUOT, KC_SLSH, KC_RSFT, _______,
_______, _______, _______, _______, _______, _______
),

};
49 changes: 49 additions & 0 deletions keyboards/handwired/polly40/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/* Copyright 2023 PAUL ENRICO N. VIOLA
*
* 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] = {

[0] = LAYOUT(
KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_DOT, KC_RSFT, MO(3),
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(2), MO(1)
),

[1] = LAYOUT(
KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_ENT,
KC_PSCR, KC_MPLY, KC_VOLD, KC_VOLU, KC_INS, KC_DEL, KC_COMM, KC_DOT, KC_SLSH, KC_PGUP, MO(0),
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_PGDN, KC_HOME
),

[2] = LAYOUT(
KC_ESC, KC_1, KC_2, KC_3, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_INS,
KC_TAB, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_UP, KC_DEL,
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_LEFT, KC_DOWN, KC_RGHT, MO(0),
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_HOME, _______
PollyV1 marked this conversation as resolved.
Show resolved Hide resolved
),

[3] = LAYOUT(
QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, KC_MINS, KC_EQL, _______,
KC_CAPS, _______, _______, _______, _______, _______, _______, _______, KC_LBRC, KC_RBRC, KC_BSLS,
_______, _______, _______, _______, _______, _______, KC_SCLN, KC_QUOT, KC_SLSH, KC_RSFT, _______,
_______, _______, _______, _______, _______, _______
),

};
2 changes: 2 additions & 0 deletions keyboards/handwired/polly40/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VIA_ENABLE = yes
LTO_ENABLE = yes
20 changes: 20 additions & 0 deletions keyboards/handwired/polly40/polly40.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/* Copyright 2023 Paul Enrico N. Viola
*
* 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 "polly40.h"

// generated by KBFirmware JSON to QMK Parser
// https://noroadsleft.github.io/kbf_qmk_converter/
36 changes: 36 additions & 0 deletions keyboards/handwired/polly40/polly40.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/* Copyright 2023 PAUL ENRICO N. VIOLA
*
* 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"

#define XXX KC_NO

#define LAYOUT( \
PollyV1 marked this conversation as resolved.
Show resolved Hide resolved
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1B, \
K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
K30, K31, K32, K36, K3A, K3B \
) { \
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, XXX, K1B }, \
{ K20, XXX, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
{ K30, K31, K32, XXX, XXX, XXX, K36, XXX, XXX, XXX, K3A, K3B }, \
}

// generated by KBFirmware JSON to QMK Parser
// https://noroadsleft.github.io/kbf_qmk_converter/
26 changes: 26 additions & 0 deletions keyboards/handwired/polly40/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Polly40

![Polly40](https://i.imgur.com/QJCQcFAh.jpg)

*A handwired 40% keyboard running a Pro micro Atmega32u4 controller*

* Keyboard Maintainer: [Paul Enrico N. Viola](https://github.com/PollyV1)
* Hardware Supported: *Atmega32u4 controller*
* Hardware Availability: *https://shopee.ph/Pro-Micro-ATmega32U4-5V-16MHz-USB-Arduino-Compatible-i.20469516.225455828*
PollyV1 marked this conversation as resolved.
Show resolved Hide resolved

Make example for this keyboard (after setting up your build environment):

make handwired/polly40:default

Flashing example for this keyboard:

make handwired/polly40:default:flash

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).

## Bootloader

Enter the bootloader in 3 ways:

* **Physical reset button**: Short Ground and RST pin
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
15 changes: 15 additions & 0 deletions keyboards/handwired/polly40/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# 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 = yes # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output

# generated by KBFirmware JSON to QMK Parser
# https://noroadsleft.github.io/kbf_qmk_converter/
PollyV1 marked this conversation as resolved.
Show resolved Hide resolved