diff options
Diffstat (limited to 'keyboards/bpiphany/sixshooter')
-rw-r--r-- | keyboards/bpiphany/sixshooter/config.h | 53 | ||||
-rw-r--r-- | keyboards/bpiphany/sixshooter/info.json | 16 | ||||
-rw-r--r-- | keyboards/bpiphany/sixshooter/keymaps/default/keymap.c | 73 | ||||
-rw-r--r-- | keyboards/bpiphany/sixshooter/keymaps/default/readme.md | 1 | ||||
-rw-r--r-- | keyboards/bpiphany/sixshooter/readme.md | 13 | ||||
-rw-r--r-- | keyboards/bpiphany/sixshooter/rules.mk | 17 | ||||
-rw-r--r-- | keyboards/bpiphany/sixshooter/sixshooter.c | 18 | ||||
-rw-r--r-- | keyboards/bpiphany/sixshooter/sixshooter.h | 42 |
8 files changed, 0 insertions, 233 deletions
diff --git a/keyboards/bpiphany/sixshooter/config.h b/keyboards/bpiphany/sixshooter/config.h deleted file mode 100644 index 9c713d92dd..0000000000 --- a/keyboards/bpiphany/sixshooter/config.h +++ /dev/null @@ -1,53 +0,0 @@ -#pragma once - -#include "config_common.h" - -/* key matrix size */ -#define MATRIX_ROWS 2 -#define MATRIX_COLS 3 - -/* Keyboard Matrix Assignments */ -#define DIRECT_PINS { \ - { F7, F6, F1 }, \ - { F5, F4, F0 } \ -} - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 - -/* - * Force NKRO - * - * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved - * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the - * makefile for this to work.) - * - * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) - * until the next keyboard reset. - * - * NKRO may prevent your keystrokes from being detected in the BIOS, but it is - * fully operational during normal computer usage. - * - * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) - * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by - * bootmagic, NKRO mode will always be enabled until it is toggled again during a - * power-up. - * - */ -//#define FORCE_NKRO - -/* - * Feature disable options - * These options are also useful to firmware size reduction. - */ - -/* 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 diff --git a/keyboards/bpiphany/sixshooter/info.json b/keyboards/bpiphany/sixshooter/info.json deleted file mode 100644 index 016568067e..0000000000 --- a/keyboards/bpiphany/sixshooter/info.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "keyboard_name": "SixShooter", - "manufacturer": "bpiphany", - "maintainer": "qmk", - "url": "https://geekhack.org/index.php?topic=70033.0", - "usb": { - "vid": "0xFEED", - "pid": "0x6666", - "device_version": "0.0.1" - }, - "layouts": { - "LAYOUT": { - "layout": [{"label":"K00", "x":0, "y":0}, {"label":"K01", "x":1, "y":0}, {"label":"K02", "x":2, "y":0}, {"label":"K03", "x":0, "y":1}, {"label":"K04", "x":1, "y":1}, {"label":"K05", "x":2, "y":1}] - } - } -} diff --git a/keyboards/bpiphany/sixshooter/keymaps/default/keymap.c b/keyboards/bpiphany/sixshooter/keymaps/default/keymap.c deleted file mode 100644 index 5e67ce1112..0000000000 --- a/keyboards/bpiphany/sixshooter/keymaps/default/keymap.c +++ /dev/null @@ -1,73 +0,0 @@ -/* Copyright 2018 QMK Community - * - * 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 - -#define _BL 0 -#define _FN 1 - -// Define keyboard specific keycodes for controlling on/off for all LEDs as they -// are all on different pins with this PCB, rather than a single backlight pin -enum custom_keycodes { - SS_LON = SAFE_RANGE, - SS_LOFF -}; -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* Base Layer: Media Keys - * ,-----------. - * |FN | V-| V+| - * |---+---+---| - * |Prv|Ply|Nxt| - * `-----------' - */ - [_BL] = LAYOUT( /* Base */ - MO(_FN), KC_VOLD, KC_VOLU, - KC_MPRV, KC_MPLY, KC_MNXT - ), - /* FN Layer: LED control - * ,-----------. - * |FN | V-| V+| - * |---+---+---| - * |Prv|Ply|Nxt| - * `-----------' - */ - [_FN] = LAYOUT( - KC_TRNS, SS_LON, SS_LOFF, - KC_NO, KC_NO, KC_NO - ), -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - // Put your per-action keyboard code here. - // Runs for every action, just before processing by the firmware. - if (record->event.pressed) { - - // Check for custom keycodes for turning on and off LEDs - switch(keycode) { - case SS_LON: - sixshooter_led_all_on(); - return false; - case SS_LOFF: - sixshooter_led_all_off(); - return false; - } - } - return true; -}; - -void matrix_init_user(void) { - // Default all LEDs to on - sixshooter_led_all_on(); -} diff --git a/keyboards/bpiphany/sixshooter/keymaps/default/readme.md b/keyboards/bpiphany/sixshooter/keymaps/default/readme.md deleted file mode 100644 index 050a6f2341..0000000000 --- a/keyboards/bpiphany/sixshooter/keymaps/default/readme.md +++ /dev/null @@ -1 +0,0 @@ -# The default keymap for sixshooter diff --git a/keyboards/bpiphany/sixshooter/readme.md b/keyboards/bpiphany/sixshooter/readme.md deleted file mode 100644 index f5d9260034..0000000000 --- a/keyboards/bpiphany/sixshooter/readme.md +++ /dev/null @@ -1,13 +0,0 @@ -# The Six Shooter - -A PCB for the CM Storm switch tester utilizing a Teensy 2.0 designed by Bpiphany. Because the PCB was designed with individual pins for each LED, there are custom keycodes (`SS_LON` and `SS_LOFF`) for turning on and off the backlight LEDs. - -Keyboard Maintainer: QMK Community -Hardware Supported: Six Shooter PCB, Teensy 2.0 -Hardware Availability: [GeekHack.org](https://geekhack.org/index.php?topic=70033.0) - -Make example for this keyboard (after setting up your build environment): - - make bpiphany/sixshooter:default - -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). diff --git a/keyboards/bpiphany/sixshooter/rules.mk b/keyboards/bpiphany/sixshooter/rules.mk deleted file mode 100644 index 66e1907f5a..0000000000 --- a/keyboards/bpiphany/sixshooter/rules.mk +++ /dev/null @@ -1,17 +0,0 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = halfkay - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = yes # Mouse keys -EXTRAKEY_ENABLE = yes # Audio control and System control -CONSOLE_ENABLE = no # Console for debug -COMMAND_ENABLE = no # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output diff --git a/keyboards/bpiphany/sixshooter/sixshooter.c b/keyboards/bpiphany/sixshooter/sixshooter.c deleted file mode 100644 index e95a06f16f..0000000000 --- a/keyboards/bpiphany/sixshooter/sixshooter.c +++ /dev/null @@ -1,18 +0,0 @@ -#include "sixshooter.h" - -extern inline void sixshooter_led_0_on(void); -extern inline void sixshooter_led_1_on(void); -extern inline void sixshooter_led_2_on(void); -extern inline void sixshooter_led_3_on(void); -extern inline void sixshooter_led_4_on(void); -extern inline void sixshooter_led_5_on(void); - -extern inline void sixshooter_led_0_off(void); -extern inline void sixshooter_led_1_off(void); -extern inline void sixshooter_led_2_off(void); -extern inline void sixshooter_led_3_off(void); -extern inline void sixshooter_led_4_off(void); -extern inline void sixshooter_led_5_off(void); - -extern inline void sixshooter_led_all_on(void); -extern inline void sixshooter_led_all_off(void); diff --git a/keyboards/bpiphany/sixshooter/sixshooter.h b/keyboards/bpiphany/sixshooter/sixshooter.h deleted file mode 100644 index 33ac9335e6..0000000000 --- a/keyboards/bpiphany/sixshooter/sixshooter.h +++ /dev/null @@ -1,42 +0,0 @@ -#pragma once - -#include "quantum.h" - -#define LAYOUT( \ - k00, k01, k02, \ - k10, k11, k12 \ -) { \ - { k00, k01, k02 }, \ - { k10, k11, k12 } \ -} - -inline void sixshooter_led_0_on(void) { DDRB |= (1<<6); PORTB |= (1<<6); } -inline void sixshooter_led_1_on(void) { DDRC |= (1<<7); PORTC |= (1<<7); } -inline void sixshooter_led_2_on(void) { DDRD |= (1<<0); PORTD |= (1<<0); } -inline void sixshooter_led_3_on(void) { DDRB |= (1<<5); PORTB |= (1<<5); } -inline void sixshooter_led_4_on(void) { DDRD |= (1<<7); PORTD |= (1<<7); } -inline void sixshooter_led_5_on(void) { DDRB |= (1<<7); PORTB |= (1<<7); } - -inline void sixshooter_led_0_off(void) { DDRB &= ~(1<<6); PORTB &= ~(1<<6); } -inline void sixshooter_led_1_off(void) { DDRC &= ~(1<<7); PORTC &= ~(1<<7); } -inline void sixshooter_led_2_off(void) { DDRD &= ~(1<<0); PORTD &= ~(1<<0); } -inline void sixshooter_led_3_off(void) { DDRB &= ~(1<<5); PORTB &= ~(1<<5); } -inline void sixshooter_led_4_off(void) { DDRD &= ~(1<<7); PORTD &= ~(1<<7); } -inline void sixshooter_led_5_off(void) { DDRB &= ~(1<<7); PORTB &= ~(1<<7); } - -inline void sixshooter_led_all_on(void) { - sixshooter_led_0_on(); - sixshooter_led_1_on(); - sixshooter_led_2_on(); - sixshooter_led_3_on(); - sixshooter_led_4_on(); - sixshooter_led_5_on(); -} -inline void sixshooter_led_all_off(void) { - sixshooter_led_0_off(); - sixshooter_led_1_off(); - sixshooter_led_2_off(); - sixshooter_led_3_off(); - sixshooter_led_4_off(); - sixshooter_led_5_off(); -} |