From 209b6baaa8fd49d5df34e0c10da8930e3271e5f1 Mon Sep 17 00:00:00 2001 From: Maarten Dekkers Date: Tue, 6 Aug 2019 05:12:06 +0200 Subject: Move maartenwut's keyboards to one folder (#6484) --- keyboards/atom47/rev2/config.h | 68 ----------------------------------------- keyboards/atom47/rev2/info.json | 12 -------- keyboards/atom47/rev2/readme.md | 23 -------------- keyboards/atom47/rev2/rev2.c | 34 --------------------- keyboards/atom47/rev2/rev2.h | 25 --------------- keyboards/atom47/rev2/rules.mk | 3 -- 6 files changed, 165 deletions(-) delete mode 100644 keyboards/atom47/rev2/config.h delete mode 100644 keyboards/atom47/rev2/info.json delete mode 100644 keyboards/atom47/rev2/readme.md delete mode 100644 keyboards/atom47/rev2/rev2.c delete mode 100644 keyboards/atom47/rev2/rev2.h delete mode 100644 keyboards/atom47/rev2/rules.mk (limited to 'keyboards/atom47/rev2') diff --git a/keyboards/atom47/rev2/config.h b/keyboards/atom47/rev2/config.h deleted file mode 100644 index c38cd450ed..0000000000 --- a/keyboards/atom47/rev2/config.h +++ /dev/null @@ -1,68 +0,0 @@ -/* -Copyright 2012 Maarten Dekkers . -*/ - -#ifndef REV2_CONFIG_H -#define REV2_CONFIG_H - -#include "config_common.h" - -/* USB Device descriptor parameter */ -#define VENDOR_ID 0xFEED -#define PRODUCT_ID 0x6060 -#define DEVICE_VER 0x0003 -#define MANUFACTURER Vortex -#define PRODUCT Core -#define DESCRIPTION Atom47 PCB for the Vortex Core Rev.2 - -/* key matrix size */ -#define MATRIX_ROWS 4 -#define MATRIX_COLS 13 - -// ROWS: Top to bottom, COLS: Left to right - -#define MATRIX_ROW_PINS {B1,B2,B3,B7} -#define MATRIX_COL_PINS {D7,D5,F0,F1,F4,F6,F7,D4,C7,C6,D6,B5,B4} -#define UNUSED_PINS - -#define BACKLIGHT_PIN B6 - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - -/* define if matrix has ghost */ -//#define MATRIX_HAS_GHOST - -/* Set 0 if debouncing isn't needed */ -#define DEBOUNCE 5 - -/* 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 - -/* Backlight configuration - */ -#define BACKLIGHT_LEVELS 4 - -#define RGB_DI_PIN D0 // The pin the LED strip is connected to -#define RGBLED_NUM 1 // Number of LEDs in your strip - -#define QMK_ESC_OUTPUT D7 // usually COL -#define QMK_ESC_INPUT B1 // usually ROW -#define QMK_LED B6 - -#endif diff --git a/keyboards/atom47/rev2/info.json b/keyboards/atom47/rev2/info.json deleted file mode 100644 index 3c45ca8d45..0000000000 --- a/keyboards/atom47/rev2/info.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "keyboard_name": "Atom47", - "url": "https://atomkb.eu/atom47", - "maintainer": "Maarten Dekkers", - "width": 13, - "height": 4, - "layouts": { - "LAYOUT": { - "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":0, "y":1, "w":1.25}, {"x":1.25, "y":1}, {"x":2.25, "y":1}, {"x":3.25, "y":1}, {"x":4.25, "y":1}, {"x":5.25, "y":1}, {"x":6.25, "y":1}, {"x":7.25, "y":1}, {"x":8.25, "y":1}, {"x":9.25, "y":1}, {"x":10.25, "y":1}, {"x":11.25, "y":1, "w":1.75}, {"x":0, "y":2, "w":1.75}, {"x":1.75, "y":2}, {"x":2.75, "y":2}, {"x":3.75, "y":2}, {"x":4.75, "y":2}, {"x":5.75, "y":2}, {"x":6.75, "y":2}, {"x":7.75, "y":2}, {"x":8.75, "y":2}, {"x":9.75, "y":2}, {"x":10.75, "y":2, "w":1.25}, {"x":12, "y":2}, {"x":0, "y":3, "w":1.25}, {"x":1.25, "y":3}, {"x":2.25, "y":3}, {"x":3.25, "y":3}, {"x":4.25, "y":3, "w":1.75}, {"x":6, "y":3, "w":2.75}, {"x":8.75, "y":3}, {"x":9.75, "y":3}, {"x":10.75, "y":3}, {"x":11.75, "y":3, "w":1.25}] - } - } -} diff --git a/keyboards/atom47/rev2/readme.md b/keyboards/atom47/rev2/readme.md deleted file mode 100644 index b63e1bb44c..0000000000 --- a/keyboards/atom47/rev2/readme.md +++ /dev/null @@ -1,23 +0,0 @@ -# Atom47 rev2 - -This is the keymap for rev2 of the Atom47. Only 9 of those have been sold for testing purposes. It had a slightly misaligned usb port and the pcb was too thick (should've been 1.2mm instead of 1.6mm). The pcb only supports the default hardware layout, although /u/ChrisSwires has [modified his](https://www.reddit.com/r/MechanicalKeyboards/comments/7n2dua/not_your_average_core_with_honeywell/) and put a big spacebar in it. - -## Support -Keyboard Maintainer: [Matthew Kerfoot](https://github.com/mkerfoot) -Hardware Supported: Atom47 rev2 -Hardware Availability: None - - -## Features -- QMK Firmware -- In-switch leds -- Through-hole micro usb connector (less likely to break off!) -- Easily reachable reset button under the spacebar -- In-switch CapsLock indicator - -## Build -To build the default keymap, simply run `make atom47/rev2:default`. - -For an alternative, heavily modified layout you would just need to run `make atom47/rev2:LEdiodes`. - -See [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) then the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. diff --git a/keyboards/atom47/rev2/rev2.c b/keyboards/atom47/rev2/rev2.c deleted file mode 100644 index 06fce06dad..0000000000 --- a/keyboards/atom47/rev2/rev2.c +++ /dev/null @@ -1,34 +0,0 @@ -#include "rev2.h" -#include "led.h" - -void matrix_init_kb(void) { - // put your keyboard start-up code here - // runs once when the firmware starts up - matrix_init_user(); - led_init_ports(); -}; - -void matrix_scan_kb(void) { - // put your looping keyboard code here - // runs every cycle (a lot) - matrix_scan_user(); -}; - -void led_init_ports(void) { - // * Set our LED pins as output - DDRB &= ~(1<<5); - - //Set output high, so the capslock led is off - PORTB |= (1 << 5); -} - -void led_set_kb(uint8_t usb_led) { - if (usb_led & (1<