diff options
Diffstat (limited to 'keyboards/converter/siemens_tastatur')
-rw-r--r-- | keyboards/converter/siemens_tastatur/config.h | 56 | ||||
-rw-r--r-- | keyboards/converter/siemens_tastatur/halconf.h | 29 | ||||
-rw-r--r-- | keyboards/converter/siemens_tastatur/info.json | 98 | ||||
-rw-r--r-- | keyboards/converter/siemens_tastatur/keymaps/default/keymap.c | 60 | ||||
-rw-r--r-- | keyboards/converter/siemens_tastatur/keymaps/default/readme.md | 1 | ||||
-rw-r--r-- | keyboards/converter/siemens_tastatur/matrix.c | 249 | ||||
-rw-r--r-- | keyboards/converter/siemens_tastatur/readme.md | 17 | ||||
-rw-r--r-- | keyboards/converter/siemens_tastatur/rules.mk | 25 | ||||
-rw-r--r-- | keyboards/converter/siemens_tastatur/siemens_tastatur.c | 17 | ||||
-rw-r--r-- | keyboards/converter/siemens_tastatur/siemens_tastatur.h | 41 |
10 files changed, 0 insertions, 593 deletions
diff --git a/keyboards/converter/siemens_tastatur/config.h b/keyboards/converter/siemens_tastatur/config.h deleted file mode 100644 index 93fca2962a..0000000000 --- a/keyboards/converter/siemens_tastatur/config.h +++ /dev/null @@ -1,56 +0,0 @@ -/* -Copyright 2019 Yiancar - -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 - -/* key matrix size */ -#define MATRIX_ROWS 5 -#define MATRIX_COLS 19 - -//This is all fake and not used -#define MATRIX_COL_PINS { B11, B10, B1, B0, A7, A6, A5, A4, A3, A2, A1, A0, C15, C14, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN } -#define MATRIX_ROW_PINS { B3, B4, B5, B6, B7 } -#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 - - -/* - * 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/converter/siemens_tastatur/halconf.h b/keyboards/converter/siemens_tastatur/halconf.h deleted file mode 100644 index 6574014c6a..0000000000 --- a/keyboards/converter/siemens_tastatur/halconf.h +++ /dev/null @@ -1,29 +0,0 @@ -/* Copyright 2020 QMK - * - * 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/>. - */ - -/* - * This file was auto-generated by: - * `qmk chibios-confmigrate -i keyboards/converter/siemens_tastatur/halconf.h -r platforms/chibios/common/configs/halconf.h` - */ - -#pragma once - -#define HAL_USE_SPI TRUE - -#define PAL_USE_CALLBACKS TRUE - -#include_next <halconf.h> - diff --git a/keyboards/converter/siemens_tastatur/info.json b/keyboards/converter/siemens_tastatur/info.json deleted file mode 100644 index 2e537b78d4..0000000000 --- a/keyboards/converter/siemens_tastatur/info.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "keyboard_name": "Siemens Tastatur", - "manufacturer": "Yiancar-Designs", - "url": "", - "maintainer": "qmk", - "usb": { - "vid": "0x8968", - "pid": "0x4353", - "device_version": "0.0.1" - }, - "layouts": { - "LAYOUT": { - "layout": [ - {"x": 0, "y": 0, "w": 1.5}, - {"x": 1.5, "y": 0}, - {"x": 2.5, "y": 0}, - {"x": 3.5, "y": 0}, - {"x": 4.5, "y": 0}, - {"x": 5.5, "y": 0}, - {"x": 6.5, "y": 0}, - {"x": 7.5, "y": 0}, - {"x": 8.5, "y": 0}, - {"x": 9.5, "y": 0}, - {"x": 10.5, "y": 0}, - {"x": 11.5, "y": 0}, - {"x": 12.5, "y": 0}, - {"x": 13.5, "y": 0, "h": 2}, - - {"x": 15, "y": 0}, - {"x": 16, "y": 0}, - {"x": 17, "y": 0}, - {"x": 18, "y": 0}, - {"x": 19, "y": 0}, - - {"x": 0, "y": 1}, - {"x": 1, "y": 1}, - {"x": 2, "y": 1}, - {"x": 3, "y": 1}, - {"x": 4, "y": 1}, - {"x": 5, "y": 1}, - {"x": 6, "y": 1}, - {"x": 7, "y": 1}, - {"x": 8, "y": 1}, - {"x": 9, "y": 1}, - {"x": 10, "y": 1}, - {"x": 11, "y": 1}, - {"x": 12, "y": 1, "w": 1.5}, - - {"x": 15, "y": 1}, - {"x": 16, "y": 1}, - {"x": 17, "y": 1}, - {"x": 18, "y": 1}, - {"x": 19, "y": 1}, - - {"x": 0, "y": 2, "w": 1.25}, - {"x": 1.25, "y": 2}, - {"x": 2.25, "y": 2}, - {"x": 3.25, "y": 2}, - {"x": 4.25, "y": 2}, - {"x": 5.25, "y": 2}, - {"x": 6.25, "y": 2}, - {"x": 7.25, "y": 2}, - {"x": 8.25, "y": 2}, - {"x": 9.25, "y": 2}, - {"x": 10.25, "y": 2}, - {"x": 11.25, "y": 2}, - {"x": 12.25, "y": 2, "w": 1.25}, - {"x": 13.5, "y": 2, "h": 2}, - - {"x": 15, "y": 2}, - {"x": 16, "y": 2}, - {"x": 17, "y": 2}, - {"x": 18, "y": 2}, - {"x": 19, "y": 2}, - - {"x": 0, "y": 3, "w": 1.75}, - {"x": 1.75, "y": 3}, - {"x": 2.75, "y": 3}, - {"x": 3.75, "y": 3}, - {"x": 4.75, "y": 3}, - {"x": 5.75, "y": 3}, - {"x": 6.75, "y": 3}, - {"x": 7.75, "y": 3}, - {"x": 8.75, "y": 3}, - {"x": 9.75, "y": 3}, - {"x": 10.75, "y": 3}, - - {"x": 15, "y": 3}, - {"x": 16, "y": 3}, - {"x": 17, "y": 3}, - {"x": 18, "y": 3}, - {"x": 19, "y": 3}, - - {"x": 3.5, "y": 4, "w": 6.5} - ] - } - } -} diff --git a/keyboards/converter/siemens_tastatur/keymaps/default/keymap.c b/keyboards/converter/siemens_tastatur/keymaps/default/keymap.c deleted file mode 100644 index 0ce8a64ab7..0000000000 --- a/keyboards/converter/siemens_tastatur/keymaps/default/keymap.c +++ /dev/null @@ -1,60 +0,0 @@ -/* -Copyright 2019 Yiancar - -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 - -// Defines the keycodes used by our macros in process_record_user -enum custom_keycodes { - DCAPS = SAFE_RANGE, -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT( /* Base */ - KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_SCLN, KC_CIRC, KC_BSPC, KC_ENT, KC_0, KC_1, KC_2, KC_3, KC_4, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Z, KC_U, KC_I, KC_O, KC_P, KC_RBRC, KC_PLUS, KC_5, KC_6, KC_7, KC_8, KC_9, - DCAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_BSLS, KC_RBRC, KC_DLR, KC_EQL, KC_0, KC_1, KC_2, KC_3, KC_4, - KC_LSFT, KC_Y, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_MINS, KC_5, KC_6, KC_7, KC_8, KC_9, - KC_SPC - ), -}; - -bool process_record_user(uint16_t keycode, keyrecord_t *record) { - switch (keycode) { - case DCAPS: - if (record->event.pressed) { - // When keycode DCAPS is pressed. - // This is needed for mac. - tap_code(KC_CAPS); - } else { - // When keycode DCAPS is released. - } - break; - } - return true; -} - -void matrix_init_user(void) { - setPinOutput(B0); - writePinLow(B0); -} - -void led_set_user(uint8_t usb_led) { - if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) { - writePinHigh(B0); - } else { - writePinLow(B0); - } -} diff --git a/keyboards/converter/siemens_tastatur/keymaps/default/readme.md b/keyboards/converter/siemens_tastatur/keymaps/default/readme.md deleted file mode 100644 index 8b72f0770e..0000000000 --- a/keyboards/converter/siemens_tastatur/keymaps/default/readme.md +++ /dev/null @@ -1 +0,0 @@ -# The default keymap for siemens_tastatur diff --git a/keyboards/converter/siemens_tastatur/matrix.c b/keyboards/converter/siemens_tastatur/matrix.c deleted file mode 100644 index 2da4e33d3d..0000000000 --- a/keyboards/converter/siemens_tastatur/matrix.c +++ /dev/null @@ -1,249 +0,0 @@ -/* -Copyright 2019 Yiancar - -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 <stdint.h> -#include <stdbool.h> -#include <string.h> -#include "quantum.h" -#include "timer.h" -#include "wait.h" -#include "print.h" -#include "matrix.h" -#include <ch.h> -#include <hal.h> - -static matrix_row_t matrix[MATRIX_ROWS]; -static matrix_row_t matrix_debouncing[MATRIX_ROWS]; - -volatile uint16_t porta_buffer = 0; -volatile uint16_t portb_buffer = 0; - -static uint32_t switch_buffer = 0; - -static void pal_cb(void* unused); - -static void enable_input_events(void) -{ - palDisablePadEventI(GPIOA, 0); - palDisablePadEventI(GPIOA, 1); - palDisablePadEventI(GPIOA, 2); - palDisablePadEventI(GPIOA, 9); - palDisablePadEventI(GPIOA, 10); - palDisablePadEventI(GPIOB, 12); - palDisablePadEventI(GPIOB, 13); - palDisablePadEventI(GPIOB, 14); - palDisablePadEventI(GPIOB, 15); - - palEnablePadEventI(GPIOA, 0, PAL_EVENT_MODE_FALLING_EDGE); - palEnablePadEventI(GPIOA, 1, PAL_EVENT_MODE_FALLING_EDGE); - palEnablePadEventI(GPIOA, 2, PAL_EVENT_MODE_FALLING_EDGE); - palEnablePadEventI(GPIOA, 9, PAL_EVENT_MODE_FALLING_EDGE); - palEnablePadEventI(GPIOA, 10, PAL_EVENT_MODE_FALLING_EDGE); - palEnablePadEventI(GPIOB, 12, PAL_EVENT_MODE_FALLING_EDGE); - palEnablePadEventI(GPIOB, 13, PAL_EVENT_MODE_FALLING_EDGE); - palEnablePadEventI(GPIOB, 14, PAL_EVENT_MODE_FALLING_EDGE); - palEnablePadEventI(GPIOB, 15, PAL_EVENT_MODE_FALLING_EDGE); - - palSetPadCallbackI(GPIOA, 0, &pal_cb, 0); - palSetPadCallbackI(GPIOA, 1, &pal_cb, 0); - palSetPadCallbackI(GPIOA, 2, &pal_cb, 0); - palSetPadCallbackI(GPIOA, 9, &pal_cb, 0); - palSetPadCallbackI(GPIOA, 10, &pal_cb, 0); - palSetPadCallbackI(GPIOB, 12, &pal_cb, 0); - palSetPadCallbackI(GPIOB, 13, &pal_cb, 0); - palSetPadCallbackI(GPIOB, 14, &pal_cb, 0); - palSetPadCallbackI(GPIOB, 15, &pal_cb, 0); -} - -// Trigger on negative edge of any of the sense lines. -static void pal_cb(void* unused) { - - (void)unused; - chSysLockFromISR(); - porta_buffer = palReadPort(GPIOA); - portb_buffer = palReadPort(GPIOB); - //Disable further interrupts that might occur on same button press. - enable_input_events(); - chSysUnlockFromISR(); -} - -void matrix_init(void) { - //Set I/O as pull-up inputs to read states - setPinInputHigh(A0); - setPinInputHigh(A1); - setPinInputHigh(A2); - setPinInputHigh(A3); - setPinInputHigh(A4); - setPinInputHigh(A5); - setPinInputHigh(A6); - setPinInputHigh(A7); - setPinInputHigh(A8); - setPinInputHigh(A9); - setPinInputHigh(A10); - setPinInputHigh(B3); - setPinInputHigh(B4); - setPinInputHigh(B5); - setPinInputHigh(B6); - setPinInputHigh(B7); - setPinInputHigh(B8); - setPinInputHigh(B9); - setPinInputHigh(B11); - setPinInputHigh(B12); - setPinInputHigh(B13); - setPinInputHigh(B14); - setPinInputHigh(B15); - - memset(matrix, 0, MATRIX_ROWS * sizeof(matrix_row_t)); - memset(matrix_debouncing, 0, MATRIX_ROWS * sizeof(matrix_row_t)); - - matrix_init_quantum(); - - osalSysLock(); - enable_input_events(); - osalSysUnlock(); -} - -uint8_t matrix_scan(void) { - switch_buffer = ((uint32_t)(porta_buffer & 0x7FF)) | ((uint32_t)(portb_buffer & 0x3F8) << 8); - - switch (switch_buffer) { - case 0x1134E: matrix[0] = 0x01; break; - case 0x3774D: matrix[0] = 0x02; break; - case 0x10BCC: matrix[0] = 0x04; break; - case 0x16B4B: matrix[0] = 0x08; break; - case 0x167CA: matrix[0] = 0x10; break; - case 0x35FC9: matrix[0] = 0x20; break; - case 0x15B48: matrix[0] = 0x40; break; - case 0x28347: matrix[0] = 0x80; break; - case 0x173C6: matrix[0] = 0x100; break; - case 0x143CF: matrix[0] = 0x200; break; - case 0x3FDC5: matrix[0] = 0x400; break; - case 0x3FD21: matrix[0] = 0x800; break; - case 0x3FD77: matrix[0] = 0x1000; break; - case 0x3FD72: matrix[0] = 0x2000; break; - //Special pin - case 0x3E7FA: matrix[0] = 0x8000; break; - case 0x183EE: matrix[0] = 0x10000; break; - case 0x197F3: matrix[0] = 0x20000; break; - case 0x1AB7E: matrix[0] = 0x40000; break; - - case 0x107C3: matrix[1] = 0x01; break; - case 0x3FD2E: matrix[1] = 0x02; break; - case 0x3FD28: matrix[1] = 0x04; break; - case 0x3FD3A: matrix[1] = 0x08; break; - case 0x3FD2D: matrix[1] = 0x10; break; - case 0x3FD2B: matrix[1] = 0x20; break; - case 0x3FDA5: matrix[1] = 0x40; break; - case 0x3FDAA: matrix[1] = 0x80; break; - case 0x3FD36: matrix[1] = 0x100; break; - case 0x3FD30: matrix[1] = 0x200; break; - case 0x3FDAF: matrix[1] = 0x400; break; - case 0x3FD22: matrix[1] = 0x800; break; - case 0x157D4: matrix[1] = 0x1000; break; - //Does not exist in matrix - //Special pin - case 0x1C778: matrix[1] = 0x8000; break; - case 0x387ED: matrix[1] = 0x10000; break; - case 0x19B74: matrix[1] = 0x20000; break; - case 0x3FD7D: matrix[1] = 0x40000; break; - - //Special pin - case 0x3FDBE: matrix[2] = 0x02; break; - case 0x3FDAC: matrix[2] = 0x04; break; - case 0x3FDBB: matrix[2] = 0x08; break; - case 0x3FD39: matrix[2] = 0x10; break; - case 0x3FDB8: matrix[2] = 0x20; break; - case 0x3FDB7: matrix[2] = 0x40; break; - case 0x3FD35: matrix[2] = 0x80; break; - case 0x3FDB4: matrix[2] = 0x100; break; - case 0x3FD33: matrix[2] = 0x200; break; - case 0x3FDA3: matrix[2] = 0x400; break; - case 0x3FD24: matrix[2] = 0x800; break; - case 0x0FFDB: matrix[2] = 0x1000; break; - case 0x3FDF5: matrix[2] = 0x2000; break; - case 0x3FDFF: matrix[2] = 0x4000; break; - case 0x3C3E4: matrix[2] = 0x8000; break; - case 0x38B6C: matrix[2] = 0x10000; break; - case 0x39FF6: matrix[2] = 0x20000; break; - case 0x3FDFC: matrix[2] = 0x40000; break; - - //Special pin - case 0x3FDA6: matrix[3] = 0x02; break; - case 0x3FD27: matrix[3] = 0x04; break; - case 0x3FD3C: matrix[3] = 0x08; break; - case 0x3FDA9: matrix[3] = 0x10; break; - case 0x3FDBD: matrix[3] = 0x20; break; - case 0x3FDB1: matrix[3] = 0x40; break; - case 0x3FDB2: matrix[3] = 0x80; break; - case 0x30353: matrix[3] = 0x100; break; - case 0x37BD1: matrix[3] = 0x200; break; - case 0x363D2: matrix[3] = 0x400; break; - case 0x3FD5F: matrix[3] = 0x800; break; - //Does not exist in matrix - //Does not exist in matrix - //Special pin - case 0x1BF00: matrix[3] = 0x8000; break; - case 0x18FEB: matrix[3] = 0x10000; break; - case 0x3FF69: matrix[3] = 0x20000; break; - case 0x3A37B: matrix[3] = 0x40000; break; - default: - if ((portb_buffer & 0x1000) == 0) { matrix[1] = 0x4000; break; } - if ((portb_buffer & 0x2000) == 0) { matrix[3] = 0x4000; break; } - if ((portb_buffer & 0x4000) == 0) { matrix[0] = 0x4000; break; } - if ((portb_buffer & 0x8000) == 0) { matrix[2] = 0x01; break; } - matrix[0] = 0x00; - matrix[1] = 0x00; - matrix[2] = 0x00; - matrix[3] = 0x00; - } - //Special case for Shift - if (readPin(B11) == 0) { matrix[3] |= 0x01; } - - porta_buffer = 65535; - portb_buffer = 65535; - - matrix_scan_quantum(); - return 1; -} - -matrix_row_t matrix_get_row(uint8_t row) -{ - return matrix[row]; -} - -void matrix_print(void) -{ - -} - -__attribute__ ((weak)) -void matrix_init_kb(void) { - matrix_init_user(); -} - -__attribute__ ((weak)) -void matrix_scan_kb(void) { - matrix_scan_user(); -} - -__attribute__ ((weak)) -void matrix_init_user(void) { -} - -__attribute__ ((weak)) -void matrix_scan_user(void) { -} - diff --git a/keyboards/converter/siemens_tastatur/readme.md b/keyboards/converter/siemens_tastatur/readme.md deleted file mode 100644 index 651df9153f..0000000000 --- a/keyboards/converter/siemens_tastatur/readme.md +++ /dev/null @@ -1,17 +0,0 @@ -# Siemens Tastatur - -[Siemens_tastatur](https://i.imgur.com/mQY4CQA.jpg) - -A Blue Pill STM32F103C8T6-based Converter board for a very very old keyboard. - -Keyboard Maintainer: [Yiancar](http://yiancar-designs.com/) and on [GitHub](https://github.com/yiancar) -Hardware Supported: Blue Pill STM32F103C8T6 -Hardware Availability: Custom PCB available, contact me - -Make example for this keyboard (after setting up your build environment): - - make converter/siemens_tastatur:default - -Unplugging and replugging the keyboard is necessary after a firmware update. - -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/converter/siemens_tastatur/rules.mk b/keyboards/converter/siemens_tastatur/rules.mk deleted file mode 100644 index 2a119a9bab..0000000000 --- a/keyboards/converter/siemens_tastatur/rules.mk +++ /dev/null @@ -1,25 +0,0 @@ -# MCU name -MCU = STM32F103 - -# Bootloader selection -BOOTLOADER = stm32duino - -SRC = matrix.c - -# 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 = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = yes # Enable N-Key Rollover -BACKLIGHT_ENABLE = no -RGBLIGHT_ENABLE = no -SLEEP_LED_ENABLE = yes -CUSTOM_MATRIX = yes - - -# Enter lower-power sleep mode when on the ChibiOS idle thread -OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE diff --git a/keyboards/converter/siemens_tastatur/siemens_tastatur.c b/keyboards/converter/siemens_tastatur/siemens_tastatur.c deleted file mode 100644 index 21d00c8c30..0000000000 --- a/keyboards/converter/siemens_tastatur/siemens_tastatur.c +++ /dev/null @@ -1,17 +0,0 @@ -/* -Copyright 2019 Yiancar - -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 "siemens_tastatur.h" diff --git a/keyboards/converter/siemens_tastatur/siemens_tastatur.h b/keyboards/converter/siemens_tastatur/siemens_tastatur.h deleted file mode 100644 index f14cd82a8d..0000000000 --- a/keyboards/converter/siemens_tastatur/siemens_tastatur.h +++ /dev/null @@ -1,41 +0,0 @@ -/* -Copyright 2019 Yiancar - -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" - -/* 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( \ - k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, k0g, k0h, k0i, \ - k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1e, k1f, k1g, k1h, k1i, \ - k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, k2h, k2i, \ - k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3e, k3f, k3g, k3h, k3i, \ - k3b \ -) \ -{ \ - { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, k0g, k0h, k0i }, \ - { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, KC_NO, k1e, k1f, k1g, k1h, k1i }, \ - { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, k2h, k2i }, \ - { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, KC_NO, KC_NO, k3e, k3f, k3g, k3h, k3i }, \ -} |