forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
200 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# DZ60 | ||
|
||
New version of the new product with Atmel32u4 AU, no reset button, enter | ||
BootLoader mode by holding down the spacebar + B and then insert the USB into | ||
the Computer | ||
|
||
# HHKB (hasu controller) | ||
|
||
Press red button on the backside of the keyboard | ||
|
||
# Compile DZ60 | ||
|
||
`sudo make dz60:fab_tinaC_hhkb:dfu` | ||
|
||
# Compile HHKB | ||
|
||
`sudo make hhkb:fab_hhkb:dfu` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Compile DZ60 | ||
|
||
`sudo make dz60:fab_tinaC_hhkb:dfu` | ||
|
||
Enter bootloader by pressing SPC+B | ||
|
||
# Compile HHKB | ||
|
||
`sudo make hhkb:fab_hhkb:dfu` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
keyboards/hhkb/keymaps/fab_hhkb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
keyboards/dz60/keymaps/fab_tinaC_hhkb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
/* File : keymap.c */ | ||
/* Created : Sat 29 Dec 2018 11:39:20 PM CET */ | ||
/* Author : Fabian Wermelinger */ | ||
/* Description: Tina-C HHKB layout */ | ||
/* Copyright 2018 Fabian Wermelinger. All Rights Reserved. */ | ||
#include QMK_KEYBOARD_H | ||
|
||
// layers | ||
enum Layers | ||
{ | ||
_DEFAULT = 0, | ||
_FN, | ||
_LIGHTS | ||
}; | ||
|
||
// special keys | ||
enum CustomKeys | ||
{ | ||
RGB_HALO = SAFE_RANGE | ||
}; | ||
|
||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
|
||
/* BASE LAYER | ||
* | ||
* ,-----------------------------------------------------------------------------------------. | ||
* | Esc | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | \| | ~ ` | | ||
* |-----------------------------------------------------------------------------------------+ | ||
* | Tab | Q | W | E | R | T | Y | U | I | O | P | [ | ] | \ | | ||
* |-----------------------------------------------------------------------------------------+ | ||
* | Ctrl | A | S | D | F | G | H | J | K | L | ; | ' | Enter | | ||
* |-----------------------------------------------------------------------------------------+ | ||
* | LShift | Z | X | C | V | B | N | M | , | . | / | RShift | FN | | ||
* |-----------------------------------------------------------------------------------------+ | ||
* | FN | LAlt | Space | Esc | LIGHTS | | ||
* `-----------------------------------------------------------------------------------------' | ||
*/ | ||
[_DEFAULT] = LAYOUT_true_hhkb( | ||
KC_ESC, 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_BSLS, KC_GRV, | ||
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_BSPC, | ||
MT(MOD_LCTL, KC_ESC), 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_LSPO, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSPC, MO(_LIGHTS), | ||
MO(_FN), KC_LALT, KC_SPC, KC_ESC, KC_RGUI | ||
), | ||
|
||
|
||
/* FN LAYER | ||
* outdated | ||
* ,------------------------------------------------------------------------------------------------------ | ||
* | | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 |INSERT | _ | | ||
* |------------------------------------------------------------------------------------------------------+ | ||
* | | _ | _ | _ | _ | _ | _ | _ | PRSC | SLOCK | PAUSE | HOME | _ | DEL | | ||
* |------------------------------------------------------------------------------------------------------+ | ||
* | Caps | VOLDOWN | VOLUP | VOLMUTE | _ | _ | LEFT | DOWN | UP | RIGHT | PGUP | PGDN | _ | | ||
* |------------------------------------------------------------------------------------------------------+ | ||
* | | _ | PLAY/PAUSE | _ | _ | _ | _ | _ | _ | _ | END | _ | _ | | ||
* |------------------------------------------------------------------------------------------------------+ | ||
* | _ | _ | _ | _ | _ | | ||
* `------------------------------------------------------------------------------------------------------' | ||
*/ | ||
[_FN] = LAYOUT_true_hhkb( | ||
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, | ||
KC_CAPS, KC_LCTL, KC_LALT, KC_LSFT, _______, _______, _______, _______, KC_PSCR, KC_SLCK, KC_PAUS, KC_HOME, KC_END, KC_BSPC, | ||
MT(MOD_LCTL, KC_ESC), KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_PGDN, KC_PGUP, _______, | ||
KC_LSPO, _______, _______, KC_MPLY, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, KC_LALT, KC_SPC, KC_ESC, _______ | ||
), | ||
|
||
|
||
/* LIGHTS LAYER | ||
* | ||
* ,---------------------------------------------------------------------------------------------------------------------+ | ||
* | RGB_TOG | STATIC | BREATHE | RAINBOW | SWIRL | SNAKE | KNIGHTRIDER | XMAS | STATIC_GRAD | TEST | _ | _ | _ | _ | _ | | ||
* |----------------------------------------------------------------------------------------------------------------------+ | ||
* | RBG_MOD | HUE_INC | SATURATION_INC | BRIGHT_INC | _ | _ | _ | _ | _ | _ | _ | _ | _ | _ | | ||
* |----------------------------------------------------------------------------------------------------------------------+ | ||
* | | HUE_DEC | SATURATION_DEC | BRIGHT_DEC | _ | _ | _ | _ | _ | _ | _ | _ | _ | | ||
* |----------------------------------------------------------------------------------------------------------------------+ | ||
* | BL_TOGG | BL_DEC | BL_INC | BL_ON | BL_OFF | BL_BREATH_TOGGLE | _ | _ | _ | _ | _ | _ | _ | | ||
* |----------------------------------------------------------------------------------------------------------------------+ | ||
* | _ | _ | _ | _ | _ | | ||
* `----------------------------------------------------------------------------------------------------------------------' | ||
*/ | ||
[_LIGHTS] = LAYOUT_true_hhkb( | ||
RGB_TOG, RGB_M_P, RGB_M_B, RGB_M_R, RGB_M_SW, RGB_M_SN, RGB_M_K, RGB_M_X, RGB_M_G, RGB_M_T, _______, _______, _______, _______, _______, | ||
RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, RGB_HALO, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, RGB_HUD, RGB_SAD, RGB_VAD, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
BL_TOGG, _______, BL_DEC, BL_INC, BL_ON , BL_OFF, BL_BRTG, _______, _______, _______, _______, _______, _______, _______, | ||
_______, _______, _______, _______, _______ | ||
), | ||
}; | ||
|
||
|
||
bool process_record_user(uint16_t keycode, keyrecord_t *record) | ||
{ | ||
if (record->event.pressed) | ||
{ | ||
switch(keycode) | ||
{ | ||
case RGB_HALO: | ||
rgblight_enable(); | ||
rgblight_setrgb(255, 241, 224); | ||
break; | ||
default: | ||
break; | ||
} | ||
} | ||
return true; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Build Options | ||
# comment out to disable the options. | ||
# | ||
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | ||
MOUSEKEY_ENABLE = no # Mouse keys(+4700) | ||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
CONSOLE_ENABLE = no # Console for debug(+400) | ||
COMMAND_ENABLE = no # Commands for debug and configuration | ||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
AUDIO_ENABLE = no | ||
RGBLIGHT_ENABLE = yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* -*- eval: (turn-on-orgtbl); -*- | ||
* default HHKB Layout | ||
*/ | ||
#include QMK_KEYBOARD_H | ||
|
||
// layers | ||
enum Layers | ||
{ | ||
_DEFAULT = 0, | ||
_FN, | ||
_MAC | ||
}; | ||
|
||
// special keys | ||
/* enum CustomKeys */ | ||
/* { */ | ||
/* RGB_HALO = SAFE_RANGE */ | ||
/* }; */ | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
|
||
[_DEFAULT] = LAYOUT( | ||
KC_ESC, 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_BSLS, KC_GRV, | ||
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_BSPC, | ||
MT(MOD_LCTL, KC_ESC), 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_LSPO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSPC, MO(_FN), | ||
MO(_FN), KC_LALT, KC_SPC, KC_ESC, KC_RGUI | ||
), | ||
|
||
[_FN] = LAYOUT( | ||
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, KC_DEL, | ||
KC_CAPS, KC_LCTL, KC_LALT, KC_LSFT, _______, _______, _______, _______, KC_PSCR, KC_SLCK, KC_PAUS, KC_HOME, KC_END, KC_BSPC, | ||
MT(MOD_LCTL, KC_ESC), KC_VOLD, KC_VOLU, KC_MUTE, _______, _______, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_PGDN, KC_PGUP, _______, | ||
KC_LSPO, _______, _______, KC_MPLY, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
_______, KC_LALT, KC_SPC, KC_ESC, _______ | ||
), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Build Options | ||
# comment out to disable the options. | ||
# | ||
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration(+1000) | ||
MOUSEKEY_ENABLE = no # Mouse keys(+4700) | ||
EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
CONSOLE_ENABLE = no # Console for debug(+400) | ||
COMMAND_ENABLE = no # Commands for debug and configuration | ||
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
AUDIO_ENABLE = no | ||
CUSTOM_MATRIX = yes # Custom matrix file for the HHKB |