Author Topic: What did you reprogram on your hhkb with the hasu?  (Read 5052 times)

0 Members and 1 Guest are viewing this topic.

Offline ArchDill

  • * Esteemed Elder
  • Thread Starter
  • Posts: 1388
  • Location: OK
What did you reprogram on your hhkb with the hasu?
« on: Sat, 10 June 2017, 01:56:34 »
Hello, I have spent a lot of time, money, and love on my hhkb. I have not wanted a Hasu controller at all. I actually use the USB hub for my trackball when traveling and I like the stock layout. I am just Curious what everyone reprogrammed to?
« Last Edit: Sat, 10 June 2017, 01:58:31 by ArchDill »

Offline Tactile

  • Posts: 1439
  • Location: Portland, OR
Re: What did you reprogram on your hhkb with the hasu?
« Reply #1 on: Sat, 10 June 2017, 08:59:24 »
Not much additional, really. I added a numeric keypad layer and got volume control working in Windows.

Code: [Select]
/*
 * HHKB Layout
 */
#include "keymap_common.h"


enum keymap_layout {
    BASE = 0,
    TENKEY,
    HHKB,
};

#ifdef KEYMAP_SECTION_ENABLE
const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS] __attribute__ ((section (".keymap.keymaps"))) = {
#else
const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS] PROGMEM = {
#endif
    /* Layer 0: Base Layer
     * ,-----------------------------------------------------------.
     * |Esc|  1|  2|  3|  4|  5|  6|  7|  8|  9|  0|  -|  =|  \|  `|
     * |-----------------------------------------------------------|
     * |Tab  |  Q|  W|  E|  R|  T|  Y|  U|  I|  O|  P|  [|  ]|BkSp |
     * |-----------------------------------------------------------|
     * |Contro|  A|  S|  D|  F|  G|  H|  J|  K|  L|  ;|  '|Enter   |
     * |-----------------------------------------------------------|
     * |Shift   |  Z|  X|  C|  V|  B|  N|  M|  ,|  .|  /|Shift |FN0|
     * `-----------------------------------------------------------'
     *       |Alt|FN0  |         Space         |Gui  |Alt|
     *       `-------------------------------------------'
     */
    [BASE] = KEYMAP(ESC, 1,   2,   3,   4,   5,   6,   7,   8,   9,   0,   MINS,EQL, BSLS,GRV,   \
           TAB, Q,   W,   E,   R,   T,   Y,   U,   I,   O,   P,   LBRC,RBRC,BSPC,       \
           LCTL,  A,   S,   D,   F,   G,   H,   J,   K,   L,   SCLN,QUOT,ENT,           \
           LSFT,Z,   X,   C,   V,   B,   N,   M,   COMM,DOT, SLSH,RSFT,FN0,             \
                LALT, FN0,          SPC,                RGUI,RALT),

               
    /* Layer 1: Numeric keypad
     * ,-----------------------------------------------------------.
     * |ESC|   |   |   |   |   |   | 7 | 8 | 9 |   | - |   |Ins|Del|
     * |-----------------------------------------------------------|
     * |Tab  |   |   |   |   |   |   | 4 | 5 | 6 |   |ENT|   |BkSp |
     * |-----------------------------------------------------------|
     * |      |   |   |   |   |   |   | 1  |  2 |  3 | + | * |Enter|
     * |-----------------------------------------------------------|
     * |        |   |   |   |   |   |   |   | 0 | . | / |    |Fn0  |
     * `-----------------------------------------------------------'
     *       |   |NumL |                       |     |   |
     *       `-------------------------------------------'
     */
    [TENKEY] = KEYMAP(ESC,NO,NO,NO,NO,NO,NO, P7, P8, P9, NO,PMNS,NO, INS, DEL,   \
           TAB, NO,NO,NO,NO,NO,NO,P4,P5,P6,NO, PENT,  NO, BSPC,      \
           TRNS,NO,NO,NO,NO,NO,NO,P1,P2,P3,PPLS,PAST,ENT,            \
           TRNS,NO,NO,NO,NO,NO,NO,NO, P0, PDOT,PSLS,TRNS,FN0,       \
                TRNS,NLCK,          TRNS,               TRNS,TRNS),
 
    /* Layer 2: HHKB mode (HHKB Fn)
     * ,-----------------------------------------------------------.
     * |   | F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Ins|Del|
     * |-----------------------------------------------------------|
     * |Caps |Fn1|Fn2|   |   |   |   |   |Psc|Slk|Pau|Up |   |BkSp |
     * |-----------------------------------------------------------|
     * |      |VoD|VoU|Mut|   |   |   |   |Hom|PgU|Lef|Rig|        |
     * |-----------------------------------------------------------|
     * |        |   |   |   |   |   |   |   |End|PgD|Dow|      |   |
     * `-----------------------------------------------------------'
     *       |   |     |                       |     |   |
     *       `-------------------------------------------'
     */
    [HHKB] = KEYMAP(TRNS, F1,  F2,  F3,  F4,  F5,  F6,  F7,  F8,  F9,  F10, F11, F12, INS, DEL,   \
           CAPS,FN1,FN2,TRNS,TRNS,TRNS,TRNS,TRNS,PSCR,SLCK,PAUS, UP, TRNS,BSPC,      \
           TRNS,VOLD,VOLU,MUTE,TRNS,TRNS,TRNS,TRNS,HOME,PGUP,LEFT,RGHT,TRNS,            \
           TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,END, PGDN,DOWN,TRNS,TRNS,            \
                TRNS,TRNS,          TRNS,               TRNS,TRNS),

};



/*
 * Fn action definition
 */
#ifdef KEYMAP_SECTION_ENABLE
const action_t fn_actions[] __attribute__ ((section (".keymap.fn_actions"))) = {
    [0]  = ACTION_LAYER_MOMENTARY(1),
    [1]  = ACTION_LAYER_MOMENTARY(2),
    [2]  = ACTION_LAYER_MOMENTARY(3),
    [3]  = ACTION_LAYER_MOMENTARY(4),
    [4]  = ACTION_LAYER_MOMENTARY(5),
    [5]  = ACTION_LAYER_MOMENTARY(6),
    [6]  = ACTION_LAYER_MOMENTARY(7),
    [7]  = ACTION_LAYER_TOGGLE(1),
    [8]  = ACTION_LAYER_TOGGLE(2),
    [9]  = ACTION_LAYER_TOGGLE(3),
    [10] = ACTION_LAYER_TAP_TOGGLE(1),
    [11] = ACTION_LAYER_TAP_TOGGLE(2),
    [12] = ACTION_LAYER_TAP_TOGGLE(3),
    [13] = ACTION_LAYER_TAP_KEY(1, KC_BSLASH),
    [14] = ACTION_LAYER_TAP_KEY(2, KC_TAB),
    [15] = ACTION_LAYER_TAP_KEY(3, KC_ENTER),
    [16] = ACTION_LAYER_TAP_KEY(4, KC_SPACE),
    [17] = ACTION_LAYER_TAP_KEY(5, KC_SCOLON),
    [18] = ACTION_LAYER_TAP_KEY(6, KC_QUOTE),
    [19] = ACTION_LAYER_TAP_KEY(7, KC_SLASH),
    [20] = ACTION_MODS_TAP_KEY(MOD_LSFT, KC_SPACE),
    [21] = ACTION_MODS_TAP_KEY(MOD_LCTL, KC_SPACE),
    [22] = ACTION_MODS_TAP_KEY(MOD_RCTL, KC_QUOTE),
    [23] = ACTION_MODS_TAP_KEY(MOD_RCTL, KC_ENTER),
    [24] = ACTION_MODS_TAP_KEY(MOD_LCTL, KC_ESC),
    [25] = ACTION_MODS_TAP_KEY(MOD_LCTL, KC_BSPACE),
    [26] = ACTION_MODS_ONESHOT(MOD_LCTL),
    [27] = ACTION_MODS_TAP_KEY(MOD_LSFT, KC_ESC),
    [28] = ACTION_MODS_TAP_KEY(MOD_LSFT, KC_BSPACE),
    [29] = ACTION_MODS_ONESHOT(MOD_LSFT),
    [30] = ACTION_MODS_TAP_KEY(MOD_RSFT, KC_GRAVE),
    [31] = ACTION_MODS_TAP_KEY(MOD_RSFT, KC_BSLASH),
};
#else
const action_t fn_actions[] PROGMEM = {
    [0] = ACTION_LAYER_MOMENTARY(HHKB),
    [1] = ACTION_DEFAULT_LAYER_SET(BASE),
    [2] = ACTION_DEFAULT_LAYER_SET(TENKEY),
};
#endif
REΛLFORCE

Offline Bucake

  • Posts: 945
  • Location: The Netherlands
Re: What did you reprogram on your hhkb with the hasu?
« Reply #2 on: Sat, 10 June 2017, 10:48:40 »
@Tactile just curious, why two Alt keys?

mine's nothing fancy, maybe a bit strange:




i want to try a toggle-able default layer some day to implement dual-role keys.
the repeat function of keys like space, alt and ctrl is something i frequently use so i need to be able to turn off the dual-functionality

i can see why the hub is useful if you don't have enough USB ports otherwise, but i've never had a use for it myself.
the stock layout isn't bad imo, but i'm sure i can't go back now that i'm so used to my own navigation layers. i especially love that i can use my left hand OR right hand for navigation.
« Last Edit: Sat, 10 June 2017, 11:16:01 by Bucake »
IBM Model F XT // Realforce 87U 55g Type-S // HHKBP2 45g Type-S // KBT Pure Pro Cherry MX Red

Offline Tactile

  • Posts: 1439
  • Location: Portland, OR
Re: What did you reprogram on your hhkb with the hasu?
« Reply #3 on: Sat, 10 June 2017, 11:33:38 »
@Tactile just curious, why two Alt keys?

I just never felt the need to change that, and I do use both.
REΛLFORCE

Offline f32h80fsd08h34r5

  • Posts: 114
  • Location: US-
Re: What did you reprogram on your hhkb with the hasu?
« Reply #4 on: Mon, 12 June 2017, 20:08:15 »
Absolutely nothing, just appreciated the fact that the FN Volume keys worked! :thumb:

Offline Joey Quinn

  • Posts: 4544
  • Location: Houghton
  • "..."
Re: What did you reprogram on your hhkb with the hasu?
« Reply #5 on: Tue, 13 June 2017, 01:46:46 »
Swapped both of mine to Dvorak and moved the volume controls, other than that it's mostly default.
People in the 1980s, in general, were clearly just better than we are now in every measurable way.

The dumber the reason the more it must be done

Offline nya

  • Posts: 31
Re: What did you reprogram on your hhkb with the hasu?
« Reply #6 on: Tue, 13 June 2017, 02:18:26 »
I haven't gotten around to it yet, but It'll be nice to use the extra keys on the jis layout

Offline futurecrime

  • Posts: 1002
  • Location: London, England
  • Get Zooted
Re: What did you reprogram on your hhkb with the hasu?
« Reply #7 on: Tue, 13 June 2017, 10:54:54 »
Just added a Colemak layer. C'est tout.

Offline ArchDill

  • * Esteemed Elder
  • Thread Starter
  • Posts: 1388
  • Location: OK
Re: What did you reprogram on your hhkb with the hasu?
« Reply #8 on: Tue, 13 June 2017, 10:58:10 »
The only thing I wold like is volume keys that work.

Offline futurecrime

  • Posts: 1002
  • Location: London, England
  • Get Zooted
Re: What did you reprogram on your hhkb with the hasu?
« Reply #9 on: Tue, 13 June 2017, 11:51:34 »
The only thing I wold like is volume keys that work.

It does that by default. It's pretty nifty.

Offline Tactile

  • Posts: 1439
  • Location: Portland, OR
Re: What did you reprogram on your hhkb with the hasu?
« Reply #10 on: Tue, 13 June 2017, 17:21:56 »
The only thing I wold like is volume keys that work.

It does that by default. It's pretty nifty.

Only on a MAC. No volume control under Windows.
REΛLFORCE

Offline futurecrime

  • Posts: 1002
  • Location: London, England
  • Get Zooted
Re: What did you reprogram on your hhkb with the hasu?
« Reply #11 on: Tue, 13 June 2017, 18:33:34 »
The only thing I wold like is volume keys that work.

It does that by default. It's pretty nifty.

Only on a MAC. No volume control under Windows.

By 'it' I mean the Hasu controller. It enables volume control on Windows without having to configure it.

Offline Tactile

  • Posts: 1439
  • Location: Portland, OR
Re: What did you reprogram on your hhkb with the hasu?
« Reply #12 on: Tue, 13 June 2017, 22:29:55 »
The only thing I wold like is volume keys that work.

It does that by default. It's pretty nifty.

Only on a MAC. No volume control under Windows.

By 'it' I mean the Hasu controller. It enables volume control on Windows without having to configure it.

Ahhh.. Gotcha
REΛLFORCE

Offline sth

  • 2 girls 1 cuprubber
  • Posts: 3438
Re: What did you reprogram on your hhkb with the hasu?
« Reply #13 on: Tue, 13 June 2017, 22:50:16 »
RAlt to RCtrl and disable fn+Esc power key.
11:48 -!- SmallFry [~SmallFry@unaffiliated/smallfry] has quit [Ping timeout: 245 seconds] ... rest in peace

Offline hernianrunner

  • Posts: 2
  • Location: Japan
Re: What did you reprogram on your hhkb with the hasu?
« Reply #14 on: Sat, 17 June 2017, 22:05:15 »
I don't have hasu's controller, but have a USB-USB converter.
Function the USB-USB converter has:
  SpaceFN with Japanese conversion keys.
  Some logic that makes HHKB(us layout) as HHKB(jp layout).

171132-0

Offline Bucake

  • Posts: 945
  • Location: The Netherlands
Re: What did you reprogram on your hhkb with the hasu?
« Reply #15 on: Sun, 18 June 2017, 13:25:03 »
are those (legends) stickers? looks cool!
IBM Model F XT // Realforce 87U 55g Type-S // HHKBP2 45g Type-S // KBT Pure Pro Cherry MX Red

Offline alienman82

  • * Elevated Elder
  • Posts: 4051
Re: What did you reprogram on your hhkb with the hasu?
« Reply #16 on: Sun, 18 June 2017, 14:25:16 »
removed.
« Last Edit: Thu, 01 March 2018, 11:51:04 by alienman82 »