summaryrefslogtreecommitdiffstats
path: root/keyboards/ai03/orbit
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ai03/orbit')
-rw-r--r--keyboards/ai03/orbit/info.json92
-rw-r--r--keyboards/ai03/orbit/keymaps/default/readme.md3
-rw-r--r--keyboards/ai03/orbit/orbit.c138
-rw-r--r--keyboards/ai03/orbit/orbit.h52
-rw-r--r--keyboards/ai03/orbit/readme.md15
-rw-r--r--keyboards/ai03/orbit/rules.mk19
6 files changed, 0 insertions, 319 deletions
diff --git a/keyboards/ai03/orbit/info.json b/keyboards/ai03/orbit/info.json
deleted file mode 100644
index 9deccb9a30..0000000000
--- a/keyboards/ai03/orbit/info.json
+++ /dev/null
@@ -1,92 +0,0 @@
-{
- "keyboard_name": "Orbit",
- "manufacturer": "ai03 Keyboard Designs",
- "url": "https://github.com/ai03-2725/Orbit",
- "maintainer": "ai03",
- "usb": {
- "vid": "0xA103",
- "pid": "0x0003",
- "device_version": "0.0.3"
- },
- "layouts": {
- "LAYOUT": {
- "layout": [
- {"x":0, "y":0.63},
- {"x":1, "y":0.38},
- {"x":2, "y":0.38},
- {"x":3, "y":0.13},
- {"x":4, "y":0},
- {"x":5, "y":0.13},
- {"x":6, "y":0.25},
- {"x":9, "y":0.25},
- {"x":10, "y":0.13},
- {"x":11, "y":0},
- {"x":12, "y":0.13},
- {"x":13, "y":0.38},
- {"x":14, "y":0.38},
- {"x":15, "y":0.63},
-
- {"x":0, "y":1.63},
- {"x":1, "y":1.38},
- {"x":2, "y":1.38},
- {"x":3, "y":1.13},
- {"x":4, "y":1},
- {"x":5, "y":1.13},
- {"x":6, "y":1.25},
- {"x":9, "y":1.25},
- {"x":10, "y":1.13},
- {"x":11, "y":1},
- {"x":12, "y":1.13},
- {"x":13, "y":1.38},
- {"x":14, "y":1.38},
- {"x":15, "y":1.63},
-
- {"x":0, "y":2.63},
- {"x":1, "y":2.38},
- {"x":2, "y":2.38},
- {"x":3, "y":2.13},
- {"x":4, "y":2},
- {"x":5, "y":2.13},
- {"x":6, "y":2.25},
- {"x":9, "y":2.25},
- {"x":10, "y":2.13},
- {"x":11, "y":2},
- {"x":12, "y":2.13},
- {"x":13, "y":2.38},
- {"x":14, "y":2.38},
- {"x":15, "y":2.63},
-
- {"x":0, "y":3.63},
- {"x":1, "y":3.38},
- {"x":2, "y":3.38},
- {"x":3, "y":3.13},
- {"x":4, "y":3},
- {"x":5, "y":3.13},
- {"x":6, "y":3.25},
- {"x":9, "y":3.25},
- {"x":10, "y":3.13},
- {"x":11, "y":3},
- {"x":12, "y":3.13},
- {"x":13, "y":3.38},
- {"x":14, "y":3.38},
- {"x":15, "y":3.63},
-
- {"x":1, "y":4.38},
- {"x":2, "y":4.38},
- {"x":3, "y":4.13},
- {"x":4, "y":4},
-
- {"x":5.5, "y":4.25},
- {"x":6.5, "y":4.5, "h":1.5},
-
- {"x":8.5, "y":4.5, "h":1.5},
- {"x":9.5, "y":4.25},
-
- {"x":11, "y":4},
- {"x":12, "y":4.13},
- {"x":13, "y":4.38},
- {"x":14, "y":4.38}
- ]
- }
- }
-}
diff --git a/keyboards/ai03/orbit/keymaps/default/readme.md b/keyboards/ai03/orbit/keymaps/default/readme.md
deleted file mode 100644
index 63c528abfa..0000000000
--- a/keyboards/ai03/orbit/keymaps/default/readme.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# The default keymap for Orbit
-
-[KLE of layout](http://www.keyboard-layout-editor.com/#/gists/53ebf59524de12515cb7e2e6de94f0d6) \ No newline at end of file
diff --git a/keyboards/ai03/orbit/orbit.c b/keyboards/ai03/orbit/orbit.c
deleted file mode 100644
index 5097f9cd90..0000000000
--- a/keyboards/ai03/orbit/orbit.c
+++ /dev/null
@@ -1,138 +0,0 @@
-/* Copyright 2018 Ryota Goto
- *
- * 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 "orbit.h"
-#include "split_util.h"
-
-void led_init_ports(void) {
- // Initialize indicator LEDs to output
- if (isLeftHand) {
- setPinOutput(C6);
- setPinOutput(B6);
- setPinOutput(B5);
- } else {
- setPinOutput(F6);
- setPinOutput(F7);
- setPinOutput(C7);
- }
-
- set_layer_indicators(0);
-}
-
-// Call led_toggle to set LEDs easily
-// LED IDs:
-//
-// (LEFT) 0 1 2 | 3 4 5 (RIGHT)
-void led_toggle(uint8_t id, bool on) {
- if (isLeftHand) {
- switch (id) {
- case 0:
- // Left hand C6
- writePin(C6, on);
- break;
- case 1:
- // Left hand B6
- writePin(B6, on);
- break;
- case 2:
- // Left hand B5
- writePin(B5, on);
- break;
- default:
- break;
- }
- } else {
- switch (id) {
- case 3:
- // Right hand F6
- writePin(F6, on);
- break;
- case 4:
- // Right hand F7
- writePin(F7, on);
- break;
- case 5:
- // Right hand C7
- writePin(C7, on);
- break;
- default:
- break;
- }
- }
-}
-
-// Set all LEDs at once using an array of 6 booleans
-// LED IDs:
-//
-// (LEFT) 0 1 2 | 3 4 5 (RIGHT)
-//
-// Ex. set_all_leds({ false, false, false, true, true, true }) would turn off left hand, turn on right hand
-
-void set_all_leds(bool leds[6]) {
- for (int i = 0; i < 6; i++) {
- led_toggle(i, leds[i]);
- }
-}
-
-void set_layer_indicators(uint8_t layer) {
- switch (layer) {
- case 0:
- led_toggle(0, true);
- led_toggle(1, false);
- led_toggle(2, false);
- break;
- case 1:
- led_toggle(0, true);
- led_toggle(1, true);
- led_toggle(2, false);
- break;
- case 2:
- led_toggle(0, true);
- led_toggle(1, true);
- led_toggle(2, true);
- break;
- case 3:
- led_toggle(0, false);
- led_toggle(1, true);
- led_toggle(2, true);
- break;
- case 4:
- led_toggle(0, false);
- led_toggle(1, false);
- led_toggle(2, true);
- break;
- default:
- led_toggle(0, true);
- led_toggle(1, false);
- led_toggle(2, true);
- break;
- }
-}
-
-bool led_update_kb(led_t led_state) {
- bool res = led_update_user(led_state);
- if (res) {
- led_toggle(3, led_state.num_lock);
- led_toggle(4, led_state.caps_lock);
- led_toggle(5, led_state.scroll_lock);
- }
- return res;
-}
-
-layer_state_t layer_state_set_kb(layer_state_t state) {
- set_layer_indicators(get_highest_layer(state));
-
- return layer_state_set_user(state);
-}
diff --git a/keyboards/ai03/orbit/orbit.h b/keyboards/ai03/orbit/orbit.h
deleted file mode 100644
index 7f3b1aca32..0000000000
--- a/keyboards/ai03/orbit/orbit.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/* Copyright 2018 Ryota Goto
- *
- * 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/>.
- */
-
-#pragma once
-
-#include "quantum.h"
-
-#define XXX KC_NO
-
-/* This a shortcut to help you visually see your layout.
- *
- * The first section contains all of the arguments representing the physical
- * layout of the board and position of the keys.
- *
- * The second converts the arguments into a two-dimensional array which
- * represents the switch matrix.
- */
-#define LAYOUT( \
- L00, L01, L02, L03, L04, L05, L06, R00, R01, R02, R03, R04, R05, R06, \
- L10, L11, L12, L13, L14, L15, L16, R10, R11, R12, R13, R14, R15, R16, \
- L20, L21, L22, L23, L24, L25, L26, R20, R21, R22, R23, R24, R25, R26, \
- L30, L31, L32, L33, L34, L35, L36, R30, R31, R32, R33, R34, R35, R36, \
- L41, L42, L43, L44, L45, L46, R40, R41, R42, R43, R44, R45 \
-) { \
- { L00, L01, L02, L03, L04, L05, L06 }, \
- { L10, L11, L12, L13, L14, L15, L16 }, \
- { L20, L21, L22, L23, L24, L25, L26 }, \
- { L30, L31, L32, L33, L34, L35, L36 }, \
- { XXX, L41, L42, L43, L44, L45, L46 }, \
- { R00, R01, R02, R03, R04, R05, R06 }, \
- { R10, R11, R12, R13, R14, R15, R16 }, \
- { R20, R21, R22, R23, R24, R25, R26 }, \
- { R30, R31, R32, R33, R34, R35, R36 }, \
- { R40, R41, R42, R43, R44, R45, XXX } \
-}
-
-void led_toggle(uint8_t id, bool on);
-void set_all_leds(bool leds[6]);
-void set_layer_indicators(uint8_t layer);
diff --git a/keyboards/ai03/orbit/readme.md b/keyboards/ai03/orbit/readme.md
deleted file mode 100644
index 0c320929b6..0000000000
--- a/keyboards/ai03/orbit/readme.md
+++ /dev/null
@@ -1,15 +0,0 @@
-# Orbit
-
-![Orbit](https://raw.githubusercontent.com/ai03-2725/Orbit/master/Images/PCB-R2.0.jpg)
-
-A split ergonomic keyboard project.
-
-* Keyboard Maintainer: [ai03](https://github.com/ai03-2725)
-* Hardware Supported: The [Orbit PCB](https://github.com/ai03-2725/Orbit)
-* Hardware Availability: [This repository](https://github.com/ai03-2725/Orbit) has PCB files. Case group buy orders are currently closed.
-
-Make example for this keyboard (after setting up your build environment):
-
- make ai03/orbit: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/ai03/orbit/rules.mk b/keyboards/ai03/orbit/rules.mk
deleted file mode 100644
index a0f1ab94a9..0000000000
--- a/keyboards/ai03/orbit/rules.mk
+++ /dev/null
@@ -1,19 +0,0 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = atmel-dfu
-
-# 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 = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-SPLIT_KEYBOARD = yes # Split keyboard flag disabled as manual edits had to be done to the split common files