summaryrefslogtreecommitdiffstats
path: root/keyboards/hhkb
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/hhkb')
-rw-r--r--keyboards/hhkb/ansi/32u2/rules.mk5
-rw-r--r--keyboards/hhkb/ansi/ansi.c1
-rw-r--r--keyboards/hhkb/ansi/ansi.h23
-rw-r--r--keyboards/hhkb/ansi/config.h82
-rw-r--r--keyboards/hhkb/ansi/hhkb_avr.h211
-rw-r--r--keyboards/hhkb/ansi/info.json77
-rw-r--r--keyboards/hhkb/ansi/keymaps/blakedietz/README.md134
-rw-r--r--keyboards/hhkb/ansi/keymaps/blakedietz/config.h24
-rw-r--r--keyboards/hhkb/ansi/keymaps/blakedietz/keymap.c106
-rw-r--r--keyboards/hhkb/ansi/keymaps/blakedietz/rules.mk3
-rw-r--r--keyboards/hhkb/ansi/keymaps/brett/config.h17
-rw-r--r--keyboards/hhkb/ansi/keymaps/brett/keymap.c119
-rw-r--r--keyboards/hhkb/ansi/keymaps/brett/readme.md13
-rw-r--r--keyboards/hhkb/ansi/keymaps/brett/rules.mk4
-rw-r--r--keyboards/hhkb/ansi/keymaps/cinaeco/README.md23
-rw-r--r--keyboards/hhkb/ansi/keymaps/cinaeco/config.h18
-rw-r--r--keyboards/hhkb/ansi/keymaps/cinaeco/keymap.c173
-rw-r--r--keyboards/hhkb/ansi/keymaps/cinaeco/rules.mk20
-rw-r--r--keyboards/hhkb/ansi/keymaps/dbroqua/keymap.c70
-rw-r--r--keyboards/hhkb/ansi/keymaps/dbroqua/readme.md26
-rw-r--r--keyboards/hhkb/ansi/keymaps/default/keymap.c56
-rw-r--r--keyboards/hhkb/ansi/keymaps/eric/keymap.c54
-rw-r--r--keyboards/hhkb/ansi/keymaps/krusli/config.h1
-rw-r--r--keyboards/hhkb/ansi/keymaps/krusli/keymap.c56
-rw-r--r--keyboards/hhkb/ansi/keymaps/lxol/keymap.c181
-rw-r--r--keyboards/hhkb/ansi/keymaps/mjt/config.h71
-rw-r--r--keyboards/hhkb/ansi/keymaps/mjt/keymap.c93
-rw-r--r--keyboards/hhkb/ansi/keymaps/mjt/readme.md16
-rw-r--r--keyboards/hhkb/ansi/keymaps/mjt/rules.mk1
-rw-r--r--keyboards/hhkb/ansi/keymaps/schaeferdev/README.md36
-rw-r--r--keyboards/hhkb/ansi/keymaps/schaeferdev/config.h9
-rw-r--r--keyboards/hhkb/ansi/keymaps/schaeferdev/keymap.c76
-rw-r--r--keyboards/hhkb/ansi/keymaps/schaeferdev/rules.mk1
-rw-r--r--keyboards/hhkb/ansi/keymaps/shela/action_pseudo.c149
-rw-r--r--keyboards/hhkb/ansi/keymaps/shela/action_pseudo.h27
-rw-r--r--keyboards/hhkb/ansi/keymaps/shela/config.h38
-rw-r--r--keyboards/hhkb/ansi/keymaps/shela/keymap.c443
-rw-r--r--keyboards/hhkb/ansi/keymaps/shela/keymap_jis2us.h49
-rw-r--r--keyboards/hhkb/ansi/keymaps/shela/readme.md68
-rw-r--r--keyboards/hhkb/ansi/keymaps/shela/rules.mk3
-rw-r--r--keyboards/hhkb/ansi/keymaps/smt/keymap.c153
-rw-r--r--keyboards/hhkb/ansi/keymaps/tobiasvl_iso/keymap.c20
-rw-r--r--keyboards/hhkb/ansi/keymaps/tobiasvl_iso/readme.md22
-rw-r--r--keyboards/hhkb/ansi/keymaps/tominabox1/.gitignore3
-rw-r--r--keyboards/hhkb/ansi/keymaps/tominabox1/keymap.c12
-rw-r--r--keyboards/hhkb/ansi/keymaps/via/keymap.c68
-rw-r--r--keyboards/hhkb/ansi/keymaps/via/rules.mk1
-rw-r--r--keyboards/hhkb/ansi/keymaps/xyverz/keymap.c137
-rw-r--r--keyboards/hhkb/ansi/matrix.c197
-rw-r--r--keyboards/hhkb/ansi/post_rules.mk18
-rw-r--r--keyboards/hhkb/ansi/readme.md14
-rw-r--r--keyboards/hhkb/ansi/rules.mk38
-rw-r--r--keyboards/hhkb/jp/config.h82
-rw-r--r--keyboards/hhkb/jp/hhkb_avr.h164
-rw-r--r--keyboards/hhkb/jp/info.json86
-rw-r--r--keyboards/hhkb/jp/jp.c1
-rw-r--r--keyboards/hhkb/jp/jp.h28
-rw-r--r--keyboards/hhkb/jp/keymaps/bakingpy/keymap.c16
-rw-r--r--keyboards/hhkb/jp/keymaps/bakingpy/rules.mk1
-rw-r--r--keyboards/hhkb/jp/keymaps/default/keymap.c44
-rw-r--r--keyboards/hhkb/jp/keymaps/default/rules.mk1
-rw-r--r--keyboards/hhkb/jp/keymaps/default_mac/keymap.c44
-rw-r--r--keyboards/hhkb/jp/keymaps/default_mac/rules.mk1
-rw-r--r--keyboards/hhkb/jp/keymaps/dhertz/config.h1
-rw-r--r--keyboards/hhkb/jp/keymaps/dhertz/keymap.c84
-rw-r--r--keyboards/hhkb/jp/keymaps/dhertz/keymap.h7
-rw-r--r--keyboards/hhkb/jp/keymaps/dhertz/rules.mk2
-rw-r--r--keyboards/hhkb/jp/keymaps/enoch_jp/keymap.c66
-rw-r--r--keyboards/hhkb/jp/keymaps/enoch_jp/rules.mk3
-rw-r--r--keyboards/hhkb/jp/keymaps/halfqwerty_jp/README.md49
-rw-r--r--keyboards/hhkb/jp/keymaps/halfqwerty_jp/keymap.c76
-rw-r--r--keyboards/hhkb/jp/keymaps/halfqwerty_jp/rules.mk1
-rw-r--r--keyboards/hhkb/jp/keymaps/rdg_jp/keymap.c50
-rw-r--r--keyboards/hhkb/jp/keymaps/rdg_jp/rules.mk1
-rw-r--r--keyboards/hhkb/jp/keymaps/sh_jp/README.md86
-rw-r--r--keyboards/hhkb/jp/keymaps/sh_jp/keymap.c45
-rw-r--r--keyboards/hhkb/jp/keymaps/sh_jp/rules.mk1
-rw-r--r--keyboards/hhkb/jp/keymaps/via/config.h2
-rw-r--r--keyboards/hhkb/jp/keymaps/via/keymap.c53
-rw-r--r--keyboards/hhkb/jp/keymaps/via/rules.mk1
-rw-r--r--keyboards/hhkb/jp/matrix.c198
-rw-r--r--keyboards/hhkb/jp/post_rules.mk18
-rw-r--r--keyboards/hhkb/jp/readme.md14
-rw-r--r--keyboards/hhkb/jp/rules.mk36
-rw-r--r--keyboards/hhkb/rn42/MEMO.txt262
-rw-r--r--keyboards/hhkb/rn42/PowerSave.txt88
-rw-r--r--keyboards/hhkb/rn42/RN42.txt408
-rw-r--r--keyboards/hhkb/rn42/battery.c130
-rw-r--r--keyboards/hhkb/rn42/battery.h32
-rw-r--r--keyboards/hhkb/rn42/main.c106
-rw-r--r--keyboards/hhkb/rn42/rn42.c261
-rw-r--r--keyboards/hhkb/rn42/rn42.h27
-rw-r--r--keyboards/hhkb/rn42/rn42_task.c467
-rw-r--r--keyboards/hhkb/rn42/rn42_task.h11
-rw-r--r--keyboards/hhkb/rn42/suart.S156
-rw-r--r--keyboards/hhkb/rn42/suart.h8
-rw-r--r--keyboards/hhkb/serial.h46
-rw-r--r--keyboards/hhkb/serial_uart.c133
-rw-r--r--keyboards/hhkb/yang/config.h123
-rw-r--r--keyboards/hhkb/yang/info.json77
-rw-r--r--keyboards/hhkb/yang/keymaps/default/keymap.c73
-rw-r--r--keyboards/hhkb/yang/keymaps/kanru/config.h21
-rw-r--r--keyboards/hhkb/yang/keymaps/kanru/keymap.c126
-rw-r--r--keyboards/hhkb/yang/matrix.c173
-rw-r--r--keyboards/hhkb/yang/memo.md135
-rw-r--r--keyboards/hhkb/yang/readme.md118
-rw-r--r--keyboards/hhkb/yang/rules.mk27
-rw-r--r--keyboards/hhkb/yang/yang.c118
-rw-r--r--keyboards/hhkb/yang/yang.h36
109 files changed, 0 insertions, 7684 deletions
diff --git a/keyboards/hhkb/ansi/32u2/rules.mk b/keyboards/hhkb/ansi/32u2/rules.mk
deleted file mode 100644
index 0c0b4c37c2..0000000000
--- a/keyboards/hhkb/ansi/32u2/rules.mk
+++ /dev/null
@@ -1,5 +0,0 @@
-# MCU name
-MCU = atmega32u2
-
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
diff --git a/keyboards/hhkb/ansi/ansi.c b/keyboards/hhkb/ansi/ansi.c
deleted file mode 100644
index cefc4e0690..0000000000
--- a/keyboards/hhkb/ansi/ansi.c
+++ /dev/null
@@ -1 +0,0 @@
-#include "ansi.h" \ No newline at end of file
diff --git a/keyboards/hhkb/ansi/ansi.h b/keyboards/hhkb/ansi/ansi.h
deleted file mode 100644
index 28e8d2fef8..0000000000
--- a/keyboards/hhkb/ansi/ansi.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#pragma once
-
-#include "quantum.h"
-
-#define LAYOUT( \
- K31, K30, K00, K10, K11, K20, K21, K40, K41, K60, K61, K70, K71, K50, K51, \
- K32, K01, K02, K13, K12, K23, K22, K42, K43, K62, K63, K73, K72, K52, \
- K33, K04, K03, K14, K15, K24, K25, K45, K44, K65, K64, K74, K53, \
- K34, K05, K06, K07, K16, K17, K26, K46, K66, K76, K75, K55, K54, \
- K35, K36, K37, K57, K56) \
- \
-{ \
- { K00, K01, K02, K03, K04, K05, K06, K07 }, \
- { K10, K11, K12, K13, K14, K15, K16, K17 }, \
- { K20, K21, K22, K23, K24, K25, K26, KC_NO }, \
- { K30, K31, K32, K33, K34, K35, K36, K37 }, \
- { K40, K41, K42, K43, K44, K45, K46, KC_NO }, \
- { K50, K51, K52, K53, K54, K55, K56, K57 }, \
- { K60, K61, K62, K63, K64, K65, K66, KC_NO }, \
- { K70, K71, K72, K73, K74, K75, K76, KC_NO } \
-}
-
-#define LAYOUT_60_hhkb LAYOUT
diff --git a/keyboards/hhkb/ansi/config.h b/keyboards/hhkb/ansi/config.h
deleted file mode 100644
index f2ba9fd74a..0000000000
--- a/keyboards/hhkb/ansi/config.h
+++ /dev/null
@@ -1,82 +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/>.
-*/
-
-#pragma once
-
-#include "config_common.h"
-
-/* key matrix size */
-#define MATRIX_ROWS 8
-#define MATRIX_COLS 8
-
-#define TAPPING_TERM 200
-
-/* number of backlight levels */
-#define BACKLIGHT_LEVELS 3
-
-/* 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
-
-#ifdef HHKB_RN42_ENABLE
-// rn42 support -- acquired from the tmk repo. This is almost certainly not
-// integrated with qmk in the correct way.
-
-#define SUART_OUT_PORT PORTD
-#define SUART_OUT_BIT 0
-#define SUART_IN_PIN PIND
-#define SUART_IN_BIT 1
-
-#define SERIAL_UART_BAUD 115200
-#define SERIAL_UART_INIT_CUSTOM \
- /* RX interrupt, RX: enable */ \
- UCSR1B |= (1<<RXCIE1) | (1<<RXEN1); \
- /* TX interrupt, TX: enable */ \
- UCSR1B |= (0<<TXCIE1) | (1<<TXEN1); \
- /* parity: none(00), even(01), odd(11) */ \
- UCSR1C |= (0<<UPM11) | (0<<UPM10); \
- /* RTS, CTS(no flow control by hardware) */ \
- UCSR1D |= (0<<RTSEN) | (0<<CTSEN); \
- /* RTS for flow control by firmware */ \
- DDRD |= (1<<5); PORTD &= ~(1<<5);
-#define SERIAL_UART_RTS_LO() do { PORTD &= ~(1<<5); } while (0)
-#define SERIAL_UART_RTS_HI() do { PORTD |= (1<<5); } while (0)
-
-/* power control of key switch board */
-#define HHKB_POWER_SAVING
-
-#endif
-
-/*
- * 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/hhkb/ansi/hhkb_avr.h b/keyboards/hhkb/ansi/hhkb_avr.h
deleted file mode 100644
index a805445e9b..0000000000
--- a/keyboards/hhkb/ansi/hhkb_avr.h
+++ /dev/null
@@ -1,211 +0,0 @@
-#pragma once
-
-#include <stdint.h>
-#include <stdbool.h>
-#include <avr/io.h>
-#include <avr/interrupt.h>
-#include <util/delay.h>
-
-
-// Timer resolution check
-#if (1000000/TIMER_RAW_FREQ > 20)
-# error "Timer resolution(>20us) is not enough for HHKB matrix scan tweak on V-USB."
-#endif
-
-
-/*
- * HHKB Matrix I/O
- *
- * row: HC4051[A,B,C] selects scan row0-7
- * row-ext: [En0,En1] row extention for JP
- * col: LS145[A,B,C,D] selects scan col0-7 and enable(D)
- * key: on: 0/off: 1
- * prev: hysteresis control: assert(1) when previous key state is on
- */
-
-
-#if defined(__AVR_ATmega32U4__)
-/*
- * For TMK HHKB alt controller(ATMega32U4)
- *
- * row: PB0-2
- * col: PB3-5,6
- * key: PD7(pull-uped)
- * prev: PB7
- * power: PD4(L:off/H:on)
- * row-ext: PC6,7 for HHKB JP(active low)
- */
-static inline void KEY_ENABLE(void) { (PORTB &= ~(1<<6)); }
-static inline void KEY_UNABLE(void) { (PORTB |= (1<<6)); }
-static inline bool KEY_STATE(void) { return (PIND & (1<<7)); }
-static inline void KEY_PREV_ON(void) { (PORTB |= (1<<7)); }
-static inline void KEY_PREV_OFF(void) { (PORTB &= ~(1<<7)); }
-#ifdef HHKB_POWER_SAVING
-static inline void KEY_POWER_ON(void) {
- DDRB = 0xFF; PORTB = 0x40; // change pins output
- DDRD |= (1<<4); PORTD |= (1<<4); // MOS FET switch on
- /* Without this wait you will miss or get false key events. */
- _delay_ms(5); // wait for powering up
-}
-static inline void KEY_POWER_OFF(void) {
- /* input with pull-up consumes less than without it when pin is open. */
- DDRB = 0x00; PORTB = 0xFF; // change pins input with pull-up
- DDRD |= (1<<4); PORTD &= ~(1<<4); // MOS FET switch off
-}
-static inline bool KEY_POWER_STATE(void) { return PORTD & (1<<4); }