Compare commits

...

11 Commits

Author SHA1 Message Date
David Doan 3e2fd422d5
Merge d202136cc2 into 85a7627641 2024-10-16 02:19:41 +00:00
David Doan d202136cc2
Accepted changes from fauxpark, formatting
Co-authored-by: Ryan <fauxpark@gmail.com>
2024-10-15 19:19:39 -07:00
David Doan b27fd86805
Update keyboard.json to change spacing between keys 2024-10-15 19:18:16 -07:00
David Doan 46ef63800b
Changed KC_AUDIO_MUTE TO KC_MUTE
Co-authored-by: Ryan <fauxpark@gmail.com>
2024-10-14 20:31:25 -07:00
David Doan 069112cf32
Apply suggestions from code review -- removed nkro enable
Co-authored-by: jack <jack@pngu.org>
2024-10-14 16:06:14 -07:00
David Doan fe29f08fef
Apply suggestions from code review
applied all zvecr suggestions

Co-authored-by: Joel Challis <git@zvecr.com>
2024-10-14 09:05:21 -07:00
David Doan 371bc0a070
Delete keyboards/arrayperipherals/vector/rules.mk 2024-10-14 09:03:51 -07:00
David Doan fbd2f2776f
Delete keyboards/arrayperipherals/vector/vector.c 2024-10-14 09:03:42 -07:00
David Doan 4ecbca1c69
Delete keyboards/arrayperipherals/vector/vector.h 2024-10-14 09:03:32 -07:00
David Doan c6a03c9a69
Delete keyboards/arrayperipherals/vector/config.h 2024-10-14 09:02:36 -07:00
David Doan cdb78fac58 adding new macropad, vector,using the new json schema 2024-10-13 17:56:24 -07:00
4 changed files with 103 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{
"manufacturer": "Array Peripherals",
"keyboard_name": "The Vector",
"maintainer": "daviddoan",
"bootloader": "atmel-dfu",
"encoder": {
"rotary": [
{"pin_a": "F0", "pin_b": "F1"}
]
},
"features": {
"bootmagic": true,
"encoder": true,
"extrakey": true,
"mousekey": true
},
"matrix_pins": {
"direct": [
["D4", "C6", "D7", "E6", "F7"]
]
},
"processor": "atmega32u4",
"url": "https://arrayperipherals.com",
"usb": {
"device_version": "1.0.0",
"pid": "0x4F47",
"vid": "0x4152"
},
"layouts": {
"LAYOUT": {
"layout": [
{"label": "k01", "matrix": [0, 0], "x": 0, "y": 0},
{"label": "k02", "matrix": [0, 1], "x": 1, "y": 0},
{"label": "k03", "matrix": [0, 2], "x": 2, "y": 0},
{"label": "k04", "matrix": [0, 3], "x": 3, "y": 0},
{"label": "k05", "matrix": [0, 4], "x": 4.25, "y": 0}
]
}
}
}

View File

@ -0,0 +1,36 @@
/*
Copyright 2024 David Doan <daviddoan1995@gmail.com>
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_MPRV, KC_MPLY, KC_MNXT, KC_MUTE, TG(1)
),
[1] = LAYOUT(
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, TG(1)
),
};
#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = {ENCODER_CCW_CW(KC_VOLD, KC_VOLU)},
[1] = {ENCODER_CCW_CW(KC_TRNS, KC_TRNS)},
};
#endif // ENCODER_MAP_ENABLE

View File

@ -0,0 +1 @@
ENCODER_MAP_ENABLE = yes

View File

@ -0,0 +1,26 @@
# The Vector Macropad
![The Vector](https://i.imgur.com/rmy76bp.png)
A small (1x4) macropad with a rotary. [More info at arrayperipherals.com](https://www.arrayperipherals.com/)
* Keyboard Maintainer: [David Doan](https://github.com/daviddoan)
* Hardware Supported: Custom PCB with Atmega32u4 processor
* Hardware Availability: [arrayperipherals.com](https://www.arrayperipherals.com/)
Make example for this keyboard (after setting up your build environment):
make arrayperipherals/vector:default
Flashing example for this keyboard:
make arrayperipherals/vector: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 2 ways:
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (left most from the rotary)
* **Physical reset button**: Briefly double press the button on the back of the PCB