parent
							
								
									625d62efdf
								
							
						
					
					
						commit
						9e775b8e9d
					
				
					 5 changed files with 100 additions and 0 deletions
				
			
		
							
								
								
									
										7
									
								
								keyboards/coban/pad12a/config.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								keyboards/coban/pad12a/config.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,7 @@
 | 
				
			||||||
 | 
					// Copyright 2025 RyanDam (https://github.com/RyanDam)
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0-or-later
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#pragma once
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
 | 
				
			||||||
 | 
					#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
 | 
				
			||||||
							
								
								
									
										50
									
								
								keyboards/coban/pad12a/keyboard.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								keyboards/coban/pad12a/keyboard.json
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,50 @@
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    "keyboard_name": "Coban Pad 12A",
 | 
				
			||||||
 | 
					    "name": "Coban Pad 12A",
 | 
				
			||||||
 | 
					    "url": "https://cobanstationery.com",
 | 
				
			||||||
 | 
					    "maintainer": "Coban Stationery",
 | 
				
			||||||
 | 
					    "manufacturer": "Coban Stationery",
 | 
				
			||||||
 | 
					    "usb": {
 | 
				
			||||||
 | 
					        "pid": "0xC12A",
 | 
				
			||||||
 | 
					        "vid": "0xCB3A",
 | 
				
			||||||
 | 
					        "device_version": "1.0.0"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "matrix_pins": {
 | 
				
			||||||
 | 
					        "cols": ["GP18", "GP16", "GP11", "GP10"],
 | 
				
			||||||
 | 
					        "rows": ["GP19", "GP17", "GP12"]
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "diode_direction": "ROW2COL",
 | 
				
			||||||
 | 
					    "encoder": {
 | 
				
			||||||
 | 
					        "rotary": [
 | 
				
			||||||
 | 
					            {"pin_a": "GP20", "pin_b": "GP21"}
 | 
				
			||||||
 | 
					        ]
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "processor": "RP2040",
 | 
				
			||||||
 | 
					    "bootloader": "rp2040",
 | 
				
			||||||
 | 
					    "features": {
 | 
				
			||||||
 | 
					        "bootmagic": true,
 | 
				
			||||||
 | 
					        "encoder": true,
 | 
				
			||||||
 | 
					        "extrakey": true,
 | 
				
			||||||
 | 
					        "mousekey": true
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "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": [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": [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}
 | 
				
			||||||
 | 
					            ]
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										19
									
								
								keyboards/coban/pad12a/keymaps/default/keymap.c
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								keyboards/coban/pad12a/keymaps/default/keymap.c
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,19 @@
 | 
				
			||||||
 | 
					// Copyright 2025 RyanDam (https://github.com/RyanDam)
 | 
				
			||||||
 | 
					// SPDX-License-Identifier: GPL-2.0-or-later
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include QMK_KEYBOARD_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
				
			||||||
 | 
					  [0] = LAYOUT(
 | 
				
			||||||
 | 
					    KC_MPLY,   KC_MPRV,   KC_MUTE,   KC_MNXT,
 | 
				
			||||||
 | 
					    KC_PGUP,   KC_ESC,    KC_UP,     KC_ENT,
 | 
				
			||||||
 | 
					    KC_PGDN,   KC_LEFT,   KC_DOWN,   KC_RIGHT
 | 
				
			||||||
 | 
					  ),
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if defined(ENCODER_MAP_ENABLE)
 | 
				
			||||||
 | 
					const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
 | 
				
			||||||
 | 
					    [0] = { ENCODER_CCW_CW(KC_VOLD, KC_VOLU) },
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
							
								
								
									
										1
									
								
								keyboards/coban/pad12a/keymaps/default/rules.mk
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								keyboards/coban/pad12a/keymaps/default/rules.mk
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1 @@
 | 
				
			||||||
 | 
					ENCODER_MAP_ENABLE = yes
 | 
				
			||||||
							
								
								
									
										23
									
								
								keyboards/coban/pad12a/readme.md
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								keyboards/coban/pad12a/readme.md
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,23 @@
 | 
				
			||||||
 | 
					# Coban Pad 12A
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Small ortho keyboard with 11 hotswapable buttons and 1 encoder
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					* Keyboard Maintainer: [RyanDam](https://github.com/RyanDam)  
 | 
				
			||||||
 | 
					* Hardware Supported: Coban Pad 12A
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Make example for this keyboard (after setting up your build environment):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    make coban/pad12a:default
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Flashing example for this keyboard:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    make coban/pad12a: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:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					* **boot button**: Hold the BOOT button on the back of the PCB while plug in usb cable
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue