diff options
Diffstat (limited to 'keyboards/converter/palm_usb')
-rw-r--r-- | keyboards/converter/palm_usb/config.h | 56 | ||||
-rw-r--r-- | keyboards/converter/palm_usb/info.json | 11 | ||||
-rw-r--r-- | keyboards/converter/palm_usb/matrix.c | 381 | ||||
-rw-r--r-- | keyboards/converter/palm_usb/readme.md | 97 | ||||
-rw-r--r-- | keyboards/converter/palm_usb/rules.mk | 25 | ||||
-rw-r--r-- | keyboards/converter/palm_usb/stowaway/info.json | 77 | ||||
-rw-r--r-- | keyboards/converter/palm_usb/stowaway/keymaps/default/keymap.c | 59 | ||||
-rw-r--r-- | keyboards/converter/palm_usb/stowaway/rules.mk | 0 | ||||
-rw-r--r-- | keyboards/converter/palm_usb/stowaway/stowaway.h | 53 |
9 files changed, 0 insertions, 759 deletions
diff --git a/keyboards/converter/palm_usb/config.h b/keyboards/converter/palm_usb/config.h deleted file mode 100644 index f6e933ad2c..0000000000 --- a/keyboards/converter/palm_usb/config.h +++ /dev/null @@ -1,56 +0,0 @@ -/* -Copyright 2012 Jun Wako <wakojun@gmail.com> - -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 code makes use of cy384's Arduino USB HID adapter for the Palm Portable - Keyboard, released under the BSD licence */ - - - - -#pragma once - -// IO pins to serial -// https://deskthority.net/wiki/Arduino_Pro_Micro for pin lookup -#define VCC_PIN D1 // pro micro 2 -#define RX_PIN D0 //pro micro 3 , was 8 on cy384 -#define RTS_PIN C6 // 5 //[ was D4 // 4 on the cy384 -#define DCD_PIN E6 //7 - -// if using the particular arduino pinout of CY384 -#ifdef CY384 - #define GND_PIN D7 //6 - #define PULLDOWN_PIN B1 // 15 -#endif - -#ifndef HANDSPRING -// Set to 1 for Handspring or to disable RTS/DCD based handshake. - #define HANDSPRING 0 -#endif - -#define MAXDROP 10 // check if keyboard is connected every X polling cycles -#define SLEEP_TIMEOUT 500000 // check keyboard/reset this many millis - - -#define MATRIX_ROWS 12 -#define MATRIX_COLS 8 - -/* key combination for command */ -#define IS_COMMAND() ( \ - get_mods() == (MOD_BIT(KC_LALT) | MOD_BIT(KC_RALT)) || \ - get_mods() == (MOD_BIT(KC_LGUI) | MOD_BIT(KC_RGUI)) || \ - get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ -) diff --git a/keyboards/converter/palm_usb/info.json b/keyboards/converter/palm_usb/info.json deleted file mode 100644 index ed4895ecfd..0000000000 --- a/keyboards/converter/palm_usb/info.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "keyboard_name": "Stowaway Converter", - "manufacturer": "QMK", - "url": "", - "maintainer": "qmk", - "usb": { - "vid": "0xFEED", - "pid": "0x0001", - "device_version": "1.0.0" - } -} diff --git a/keyboards/converter/palm_usb/matrix.c b/keyboards/converter/palm_usb/matrix.c deleted file mode 100644 index 28d4b87d83..0000000000 --- a/keyboards/converter/palm_usb/matrix.c +++ /dev/null @@ -1,381 +0,0 @@ -/* -Copyright 2018 milestogo -with elements Copyright 2014 cy384 under a modified BSD license -building on qmk structure Copyright 2012 Jun Wako <wakojun@gmail.com> - -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 -#include "uart.h" -#include "timer.h" - - -/* - * Matrix Array usage: - * - * ROW: 12(4bits) - * COL: 8(3bits) - * - * +---------+ - * 0|00 ... 07| - * 1|00 ... 07| - * :| ... | - * :| ... | - * A| | - * B| | - * +---------+ - */ -static uint8_t matrix[MATRIX_ROWS]; - - -// we're going to need a sleep timer -static uint16_t last_activity ; -// and a byte to track duplicate up events signalling all keys up. -static uint16_t last_upKey ; -// serial device can disconnect. Check every MAXDROP characters. -static uint16_t disconnect_counter = 0; - - -// bitmath masks. -#define KEY_MASK 0b10000000 -#define COL_MASK 0b00000111 -#define ROW_MASK 0b01111000 - - -#define ROW(code) (( code & ROW_MASK ) >>3) -#define COL(code) ((code & COL_MASK) ) -#define KEYUP(code) ((code & KEY_MASK) >>7 ) - -__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) { -} - -inline -uint8_t matrix_rows(void) -{ - return MATRIX_ROWS; -} - -inline -uint8_t matrix_cols(void) -{ - return MATRIX_COLS; -} - - -void pins_init(void) { - // set pins for pullups, Rts , power &etc. - - //print ("pins setup\n"); - setPinOutput(VCC_PIN); - writePinLow(VCC_PIN); - -#if ( HANDSPRING == 0) - -#ifdef CY835 - setPinOutput(GND_PIN); - writePinLow(GND_PIN); - - setPinOutput(PULLDOWN_PIN); - writePinLow(PULLDOWN_PIN); -#endif - - setPinInput(DCD_PIN); - setPinInput(RTS_PIN); -#endif - -/* check that the other side isn't powered up. - test=readPin(DCD_PIN); - xprintf("b%02X:", test); - test=readPin(RTS_PIN); - xprintf("%02X\n", test); -*/ - -} - -uint8_t rts_reset(void) { - static uint8_t firstread ; -/* bounce RTS so device knows it is rebooted */ - -// On boot, we keep rts as input, then switch roles here -// on leaving sleep, we toggle the same way - - firstread=readPin(RTS_PIN); - // printf("r%02X:", firstread); - - setPinOutput(RTS_PIN); - - if (firstread) { - writePinLow(RTS_PIN); - } - _delay_ms(10); - writePinHigh(RTS_PIN); - - -/* the future is Arm - if (!palReadPad(RTS_PIN_IOPRT)) - { - _delay_ms(10); - palSetPadMode(RTS_PINn_IOPORT, PinDirectionOutput_PUSHPULL); - palSetPad(RTS_PORT, RTS_PIN); - } - else - { - palSetPadMode(RTS_PIN_RTS_PORT, PinDirectionOutput_PUSHPULL); - palSetPad(RTS_PORT, RTS_PIN); - palClearPad(RTS_PORT, RTS_PIN); - _delay_ms(10); - palSetPad(RTS_PORT, RTS_PIN); - } -*/ - - - _delay_ms(5); - //print("rts\n"); - return 1; -} - -uint8_t get_serial_byte(void) { - static uint8_t code; - while(1) { - code = uart_read(); - if (code) { - debug_hex(code); debug(" "); - return code; - } - } -} - -uint8_t palm_handshake(void) { - // assumes something has seen DCD go high, we've toggled RTS - // and we now need to verify handshake. - // listen for up to 4 packets before giving up. - // usually I get the sequence FF FA FD - static uint8_t codeA=0; - - for (uint8_t i=0; i < 5; i++) { - codeA=get_serial_byte(); - if ( 0xFA == codeA) { - if( 0xFD == get_serial_byte()) { - return 1; - } - } - } - return 0; -} - -uint8_t palm_reset(void) { - print("@"); - rts_reset(); // shouldn't need to power cycle. - - if ( palm_handshake() ) { - last_activity = timer_read(); - return 1; - } else { - print("failed reset"); - return 0; - } - -} - -uint8_t handspring_handshake(void) { - // should be sent 15 ms after power up. - // listen for up to 4 packets before giving up. - static uint8_t codeA=0; - - for (uint8_t i=0; i < 5; i++) { - codeA=get_serial_byte(); - if ( 0xF9 == codeA) { - if( 0xFB == get_serial_byte()) { - return 1; - } - } - } - return 0; -} - -uint8_t handspring_reset(void) { - writePinLow(VCC_PIN); - _delay_ms(5); - writePinHigh(VCC_PIN); - - if ( handspring_handshake() ) { - last_activity = timer_read(); - disconnect_counter=0; - return 1; - } else { - print("-HSreset"); - return 0; - } -} - -void matrix_init(void) -{ - debug_enable = true; - //debug_matrix =true; - - uart_init(9600); // arguments all #defined - -#if (HANDSPRING == 0) - pins_init(); // set all inputs and outputs. -#endif - - print("power up\n"); - writePinHigh(VCC_PIN); - - // wait for DCD strobe from keyboard - it will do this - // up to 3 times, then the board needs the RTS toggled to try again - -#if ( HANDSPRING == 1) - if ( handspring_handshake() ) { - last_activity = timer_read(); - } else { - print("failed handshake"); - _delay_ms(1000); - //BUG /should/ power cycle or toggle RTS & reset, but this usually works. - } - -#else /// Palm / HP device with DCD - while( !readPin(DCD_PIN) ) {;} - print("dcd\n"); - - rts_reset(); // at this point the keyboard should think all is well. - - if ( palm_handshake() ) { - last_activity = timer_read(); - } else { - print("failed handshake"); - _delay_ms(1000); - //BUG /should/ power cycle or toggle RTS & reset, but this usually works. - } - -#endif - - // initialize matrix state: all keys off - for (uint8_t i=0; i < MATRIX_ROWS; i++) matrix[i] = 0x00; - - matrix_init_quantum(); - return; - - -} - - -uint8_t matrix_scan(void) -{ - uint8_t code; - code = uart_read(); - if (!code) { -/* - disconnect_counter ++; - if (disconnect_counter > MAXDROP) { - // set all keys off - for (uint8_t i=0; i < MATRIX_ROWS; i++) matrix[i] = 0x00; - } -*/ - // check if the keyboard is asleep. - if (timer_elapsed(last_activity) > SLEEP_TIMEOUT) { -#if(HANDSPRING ==0 ) - palm_reset(); -#else - handspring_reset(); -#endif - return 0; - } - - } - - last_activity = timer_read(); - disconnect_counter=0; // if we are getting serial data, we're connected. - - debug_hex(code); debug(" "); - - - switch (code) { - case 0xFD: // unexpected reset byte 2 - print("rstD "); - return 0; - case 0xFA: // unexpected reset - print("rstA "); - return 0; - } - - if (KEYUP(code)) { - if (code == last_upKey) { - // all keys are not pressed. - // Manual says to disable all modifiers left open now. - // but that could defeat sticky keys. - // BUG? dropping this byte. - last_upKey=0; - return 0; - } - // release - if (matrix_is_on(ROW(code), COL(code))) { - matrix[ROW(code)] &= ~(1<<COL(code)); - last_upKey=code; - } - } else { - // press - if (!matrix_is_on(ROW(code), COL(code))) { - matrix[ROW(code)] |= (1<<COL(code)); - - } - } - - matrix_scan_quantum(); - return code; -} - -inline -bool matrix_has_ghost(void) -{ - return false; -} - -inline -bool matrix_is_on(uint8_t row, uint8_t col) -{ - return (matrix[row] & (1<<col)); -} - -inline -uint8_t matrix_get_row(uint8_t row) -{ - return matrix[row]; -} - -void matrix_print(void) -{ - print("\nr/c 01234567\n"); - for (uint8_t row = 0; row < matrix_rows(); row++) { - print_hex8(row); print(": "); - print_bin_reverse8(matrix_get_row(row)); - print("\n"); - } -} diff --git a/keyboards/converter/palm_usb/readme.md b/keyboards/converter/palm_usb/readme.md deleted file mode 100644 index 850005d9ea..0000000000 --- a/keyboards/converter/palm_usb/readme.md +++ /dev/null @@ -1,97 +0,0 @@ -# Stowaway Serial keyboard to USB protocol converter - -A converter for Palm Pilot era Stowaway serial keyboards. - -Makes extensive use of the code from [cy384](https://github.com/cy384/ppk_usb). Ported to QMK by [milestogo](https://github.com/milestogo). - -Hardware Supported: See hardware section below -Hardware Availability: self-built - -Make example for this keyboard (after setting up your build environment): - - make converter/palm_usb/stowaway: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). - - -## Hardware - -Target MCU is ATMega32u4 but other USB capable AVRs should also work. - -cy843 has a very specific way of wiring in order to fit all pins in sequence. It breaks -qmk because the Arduino softserial library uses different pins from QMK. - -I've wired the pro micro hardware as follows. - -| Label | TX0 | RX1 | GND | GND | 2 | 3 | 4 | 5 | 6 | 7 | -| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | -| Palm | | | * | GND | VCC | RX | NC | RTS | NC | DCD | -| MCU | | | | | D1 | D0 | | C6 | | E6 | - -\* The RX line from the keyboard should be conected to a ~10K ohm pull down resistor to ground. -RX --|--3 - 10K - | - GND - - -Power management is not implemented yet, this just reboots the keyboard frequently. - -### Keyboards: - -Think Outside Stowaway Keyboards -There are at least 5 different versions of these keyboards out there. - -Group 1: Palm 3, Palm 5 & HP Journada 540, and Compaq iPaq keyboards. These share -the same RTS protocol, but with different pinouts for each device. - -Group 2: Handspring keyboards. These don't do handshaking protocol, and use TTL signal. -Set HANDSPRING to 1 in config.h - -Group 3: IRDA models. Untested but theoretically serial. - -### Connectors - -See https://github.com/cy384/ppk_usb for wiring & sample 3d printable sockets. - -Only Palm3 wiring has been tested. -RXD pin is output from keyboard to MCU's RX. - -Viewed from left to right with the keyboard in typing position. - -Palm3: [NC, VCC, RXD, RTS, NC, NC, DCD, NC, NC, GND] -Palm5: [NC, VCC, RXD, RTS, NC, NC, DCD, NC, NC, GND] (same order, different connector) -Handspring: [VCC/TXD, NC, NC, NC, GND, NC, NC, RXD] -Journada: [NC, NC, NC, GND, NC, RTS, NC, DTR/VCC, RXD, DCD, NC] [GND-IN, VCC-IN] -Ipaq: [NC, NC, DTR/VCC, NC, NC, RTS, NC, RXD, DCD, GND, NC, NC] - -### Protocol - - Signal: Asynchronous, Negative logic, 9600baud, No Flow control - Frame format: 1-Start bit, 8-Data bits, No-Parity, 1-Stop bit - - AVR USART engine expects positive logic while stowaway keyboard signal is negative. - To use AVR UART engine you need external inverter in front of RX and TX pin. - Otherwise you can software serial routine to communicate the keyboard. - -This converter uses software method, you doesn't need any inverter part. - - -Commands From System To Keyboard - none - -Commands From Keyboard To System - - 0xFA Reset/Ready Response(followed by 0xFD) - -References - -* http://www.splorp.com/pdf/stowawayhwref.pdf - -### Todo -- Test on anything but a palm 3 model keyboard. -- Change all of the soft serial to match the new Helix based code so that it is easier -to switch pins. -- The driver should check for a keyboard that pressed the delete key then disconnected. -Check every MAXDROP scans that the keyboard is there, and if not, clear the matrix. -Not implemented yet, since matrix scan is so much faster than serial. diff --git a/keyboards/converter/palm_usb/rules.mk b/keyboards/converter/palm_usb/rules.mk deleted file mode 100644 index a1d2e39b23..0000000000 --- a/keyboards/converter/palm_usb/rules.mk +++ /dev/null @@ -1,25 +0,0 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = caterina - -# Build Options -# change yes to no to disable -# -BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite -MOUSEKEY_ENABLE = no # Mouse keys -EXTRAKEY_ENABLE = no # Audio control and System control -CONSOLE_ENABLE = yes # Console for debug -COMMAND_ENABLE = yes # Commands for debug and configuration -NKRO_ENABLE = no # Enable N-Key Rollover -BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality -AUDIO_ENABLE = no # Audio output -RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. -#HARDWARE_SERIAL = yes -CUSTOM_MATRIX = yes - -SRC += matrix.c -QUANTUM_LIB_SRC += uart.c - -DEFAULT_FOLDER = converter/palm_usb/stowaway diff --git a/keyboards/converter/palm_usb/stowaway/info.json b/keyboards/converter/palm_usb/stowaway/info.json deleted file mode 100644 index 34b1e1f83f..0000000000 --- a/keyboards/converter/palm_usb/stowaway/info.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "layouts": { - "LAYOUT": { - "layout": [ - {"label":"1", "x":0.5, "y":0}, - {"label":"2", "x":1.5, "y":0}, - {"label":"3", "x":2.5, "y":0}, - {"label":"4", "x":3.5, "y":0}, - {"label":"5", "x":4.5, "y":0}, - {"label":"6", "x":5.5, "y":0}, - {"label":"7", "x":6.5, "y":0}, - {"label":"8", "x":7.5, "y":0}, - {"label":"9", "x":8.5, "y":0}, - {"label":"0", "x":9.5, "y":0}, - {"label":"MINS", "x":10.5, "y":0}, - {"label":"EQL", "x":11.5, "y":0}, - {"label":"BACK", "x":12.5, "y":0, "w":1.5}, - {"label":"APP0", "x":14.25, "y":1, "h":0.6875}, - {"label":"TAB", "x":0, "y":1}, - {"label":"Q", "x":1, "y":1}, - {"label":"W", "x":2, "y":1}, - {"label":"E", "x":3, "y":1}, - {"label":"R", "x":4, "y":1}, - {"label":"T", "x":5, "y":1}, - {"label":"Y", "x":6, "y":1}, - {"label":"U", "x":7, "y":1}, - {"label":"I", "x":8, "y":1}, - {"label":"O", "x":9, "y":1}, - {"label":"P", "x":10, "y":1}, - {"label":"LBRC", "x":11, "y":1}, - {"label":"RBRC", "x":12, "y":1}, - {"label":"BSLS", "x":13, "y":1}, - {"label":"APP1", "x":14.25, "y":1.6875, "h":0.6875}, - {"label":"CAPS", "x":0, "y":2, "w":1.25}, - {"label":"A", "x":1.25, "y":2}, - {"label":"S", "x":2.25, "y":2}, - {"label":"D", "x":3.25, "y":2}, - {"label":"F", "x":4.25, "y":2}, - {"label":"G", "x":5.25, "y":2}, - {"label":"H", "x":6.25, "y":2}, - {"label":"J", "x":7.25, "y":2}, - {"label":"K", "x":8.25, "y":2}, - {"label":"L", "x":9.25, "y":2}, - {"label":"SCLN", "x":10.25, "y":2}, - {"label":"QUOT", "x":11.25, "y":2}, - {"label":"ENT", "x":12.25, "y":2, "w":1.75}, - {"label":"APP2", "x":14.25, "y":2.375, "h":0.6875}, - {"label":"LSFT", "x":0, "y":3, "w":1.75}, - {"label":"Z", "x":1.75, "y":3}, - {"label":"X", "x":2.75, "y":3}, - {"label":"C", "x":3.75, "y":3}, - {"label":"V", "x":4.75, "y":3}, - {"label":"B", "x":5.75, "y":3}, - {"label":"N", "x":6.75, "y":3}, - {"label":"M", "x":7.75, "y":3}, - {"label":"COMM", "x":8.75, "y":3}, - {"label":"DOT", "x":9.75, "y":3}, - {"label":"SLSH", "x":10.75, "y":3}, - {"label":"RSFT", "x":11.75, "y":3, "w":1.25}, - {"label":"UP", "x":13, "y":3}, - {"label":"APP3", "x":14.25, "y":3.0625, "h":0.6875}, - {"label":"LCTL", "x":0, "y":4, "w":1.25}, - {"label":"FN", "x":1.25, "y":4}, - {"label":"LALT", "x":2.25, "y":4}, - {"label":"CMD", "x":3.25, "y":4}, - {"label":"SPACE", "x":4.25, "y":4, "w":3.5}, - {"label":"SPACE/New", "x":7.75, "y":4}, - {"label":"GRAVE", "x":8.75, "y":4}, - {"label":"DONE", "x":9.75, "y":4}, - {"label":"DEL", "x":10.75, "y":4, "w":1.25}, - {"label":"LEFT", "x":12, "y":4}, - {"label":"DOWN", "x":13, "y":4}, - {"label":"RIGHT", "x":14, "y":4} - ] - } - } -} diff --git a/keyboards/converter/palm_usb/stowaway/keymaps/default/keymap.c b/keyboards/converter/palm_usb/stowaway/keymaps/default/keymap.c deleted file mode 100644 index 09b41f95cc..0000000000 --- a/keyboards/converter/palm_usb/stowaway/keymaps/default/keymap.c +++ /dev/null @@ -1,59 +0,0 @@ -/* - Copyright 2018 milestogo - - 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 - -enum layers { -_QWERTY=0, -_CDH, -_FN -}; - -const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - /* - 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, BACK, APP0, - TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC, RBRC, BSLS, APP1, - CAPS, A, S, D, F, G, H, J, K, L, SCLN, QUOT, ENT, APP2, - LSFT, Z, X, C, V, B, N, M, COMM, DOT, SLSH, RSFT, UP, APP3, - LCTL, FN, LALT, CMD, SPACE,SPACE,GRAVE,DONE, DEL, LEFT, DOWN, RIGHT - -*/ - [_QWERTY] = LAYOUT( /* Base */ - KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_ESC, - KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, TG(_CDH), - KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, - KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, - KC_LCTL, MO(_FN), KC_LALT, KC_LGUI, KC_SPACE,KC_SPACE,KC_GRAVE,KC_RGUI, KC_DEL, KC_LEFT,KC_DOWN, KC_RIGHT - ), - - [_CDH] = LAYOUT( /* Base */ - KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_ESC, - KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_B, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_LBRC, KC_RBRC, KC_BSLS, _______, - KC_CAPS, KC_A, KC_R, KC_S, KC_T, KC_G, KC_M, KC_N, KC_E, KC_I, KC_O, KC_QUOT, KC_ENT, KC_PGUP, - KC_LSFT, KC_Z, KC_X, KC_C, KC_D, KC_V, KC_K, KC_H, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_PGDN, - KC_LCTL, MO(_FN), KC_LALT, KC_LGUI, KC_SPACE,KC_SPACE,KC_GRAVE,KC_RGUI, KC_DEL, KC_LEFT,KC_DOWN, KC_RIGHT - ), - - [_FN] = LAYOUT( // FN Key - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, KC_ENT, _______, _______, _______, _______, _______, _______, _______ - ), - -}; diff --git a/keyboards/converter/palm_usb/stowaway/rules.mk b/keyboards/converter/palm_usb/stowaway/rules.mk deleted file mode 100644 index e69de29bb2..0000000000 --- a/keyboards/converter/palm_usb/stowaway/rules.mk +++ /dev/null diff --git a/keyboards/converter/palm_usb/stowaway/stowaway.h b/keyboards/converter/palm_usb/stowaway/stowaway.h deleted file mode 100644 index 71af9bf4a8..0000000000 --- a/keyboards/converter/palm_usb/stowaway/stowaway.h +++ /dev/null @@ -1,53 +0,0 @@ -/* -Copyright 2018 milestogo - -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" - - -/* Stowaway Keyboard - based on matrix from http://www.splorp.com/pdf/stowawayhwref.pdf - - 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, BACK APP0, - TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC, RBRC, BSLS, APP1, - CAPS, A, S, D, F, G, H, J, K, L, SCLN, QUOT, ENT, APP2, - LSFT, Z, X, C, V, B, N, M, COMM, DOT, SLSH, RSFT, UP, APP3, - LCTL, FN, LALT, CMD, SPACE,SPACE,GRAVE,DONE, DEL, LEFT, DOWN, RIGHT - -*/ -#define LAYOUT( \ - K000, K001, K002, K004, K005, K006, K007, K064, K065, K066, K060, K061, K062, K063,\ - K031, K011, K012, K013, K014, K015, K016, K074, K075, K076, K077, K070, K071, K072, K073,\ - K030, K021, K022, K023, K024, K025, K026, K084, K085, K086, K087, K080, K081, K082,\ - K110, K003, K020, K054, K055, K056, K057, K094, K095, K096, K090, K111, K091, K092,\ - K032, K042, K043, K010, K027, K067, K017, K097, K100, K101, K102, K103 \ -) { \ - { K000, K001, K002 , K003, K004, K005, K006, K007 }, \ - { K010, K011, K012 , K013, K014, K015, K016, K017 }, \ - { K020, K021, K022 , K023, K024, K025, K026, K027 }, \ - { K030, K031, K032 , KC_NO,KC_NO, KC_NO,KC_NO, KC_NO }, \ - { KC_NO, KC_NO, K042 , K043, KC_NO, KC_NO,KC_NO, KC_NO }, \ - { KC_NO, KC_NO, KC_NO, KC_NO,K054, K055, K056, K057 }, \ - { K060, K061, K062 , K063, K064, K065, K066, K067 }, \ - { K070, K071, K072 , K073, K074, K075, K076, K077 }, \ - { K080, K081, K082 , KC_NO,K084, K085, K086, K087 }, \ - { K090, K091, K092 , KC_NO,K094, K095, K096, K097 }, \ - { K100, K101, K102 , K103, KC_NO, KC_NO,KC_NO, KC_NO }, \ - { K110, K111, KC_NO, KC_NO,KC_NO, KC_NO,KC_NO, KC_NO } \ -} - |