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

Add ambergon/multipleglove #24526

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 9 commits
Commits
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
59 changes: 59 additions & 0 deletions keyboards/ambergon/multipleglove/keyboard.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"manufacturer": "ATSUTO_NAKAYAMA",
"keyboard_name": "MultipleGlove",
"maintainer": "ambergon",
"bootloader": "atmel-dfu",
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"encoder": true,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"matrix_pins": {
"cols": [ "D4" , "C6" , "D7" , "E6" ],
"rows": [ "F4" , "F5" , "F6" , "F7" , "B1" ]
},
"processor": "atmega32u4",
"url": "",
"usb": {
"vid": "0x3F2A",
"pid": "0x0000",
"device_version": "1.0.0"
},
"encoder": {
"rotary": [
{ "pin_a" : "B4" , "pin_b" : "B5" } ,
{ "pin_a" : "B2" , "pin_b" : "B6" } ,
{ "pin_a" : "D3" , "pin_b" : "D2" }
]
},
"dynamic_keymap": {
"layer_count": 16
},
"layouts": {
"LAYOUT": {
"layout": [
{"matrix": [0, 0], "x": 0 , "y": 0 },
{"matrix": [0, 1], "x": 0 , "y": 1 },
{"matrix": [0, 2], "x": 0 , "y": 2 },
{"matrix": [0, 3], "x": 0 , "y": 3 },
{"matrix": [1, 0], "x": 1 , "y": 0 },
{"matrix": [1, 1], "x": 1 , "y": 1 },
{"matrix": [1, 2], "x": 1 , "y": 2 },
{"matrix": [1, 3], "x": 1 , "y": 3 },
{"matrix": [2, 0], "x": 2 , "y": 0 },
{"matrix": [2, 1], "x": 2 , "y": 1 },
{"matrix": [2, 2], "x": 2 , "y": 2 },
{"matrix": [2, 3], "x": 2 , "y": 3 },
{"matrix": [3, 0], "x": 3 , "y": 0 },
{"matrix": [3, 1], "x": 3 , "y": 1 },
{"matrix": [3, 2], "x": 3 , "y": 2 },
{"matrix": [3, 3], "x": 3 , "y": 3 },
{"matrix": [4, 0], "x": 4 , "y": 0 },
{"matrix": [4, 1], "x": 4 , "y": 1 }
]
}
}
}
32 changes: 32 additions & 0 deletions keyboards/ambergon/multipleglove/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// Copyright 2023 QMK
// SPDX-License-Identifier: GPL-2.0-or-later

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT(
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_NO , KC_NO , KC_NO , KC_NO ,
KC_Q , KC_R
)
};

#if defined(ENCODER_MAP_ENABLE)
const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[0] = { ENCODER_CCW_CW( KC_P , KC_Q ) , ENCODER_CCW_CW( KC_R , KC_S ) , ENCODER_CCW_CW( KC_T , KC_U ) }
};
#endif

static int myOldLayer = 0;
void matrix_scan_user(void) {

int myLayer= (0 << 3) | (0 << 2) | (0 << 1) | (0 << 0) ;
myLayer = ( matrix_is_on( 3 , 3 ) << 3 ) | ( matrix_is_on( 3 , 2 ) << 2 ) | ( matrix_is_on( 3 , 1 ) << 1 ) | ( matrix_is_on( 3 , 0 ) << 0 );

if ( myLayer != myOldLayer ){
layer_move( myLayer );
myOldLayer = myLayer;
}
}
1 change: 1 addition & 0 deletions keyboards/ambergon/multipleglove/keymaps/default/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ENCODER_MAP_ENABLE = yes
36 changes: 36 additions & 0 deletions keyboards/ambergon/multipleglove/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# MultipleGlove

![MultipleGlove](https://github.com/ambergon/MultipeGlove/blob/master/img/1.jpg)
![MultipleGlove](https://github.com/ambergon/MultipeGlove/blob/master/img/2.jpg)
![MultipleGlove](https://github.com/ambergon/MultipeGlove/blob/master/img/6.jpg)

This keyboard was strongly influenced by the text editor Vim and the Keyball61 by Shirogane Labs.
The emphasis is on the home position of the left hand and access to the three rotary encoders without moving the hand significantly.
this keyboard specialize in 0-15 layer switching.


* Keyboard Maintainer: [ATSUTO_NAKAYAMA](https://github.com/ambergon)
* Hardware Supported: Pro Micro
* Hardware Availability: [Here](https://github.com/ambergon/MultipeGlove/tree/master#%E3%82%AD%E3%83%83%E3%83%88%E3%81%AE%E8%B2%A9%E5%A3%B2%E5%A0%B4%E6%89%80)

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

## build hex file
```.sh
make ambergon/MultipleGlove:default
```

## flash hex file
```.sh
make ambergon/MultipleGlove: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:

* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available