geekhack

geekhack Community => Keyboards => Topic started by: morpheus on Mon, 24 February 2014, 00:10:07

Title: HHKB 2 Pro - Remapping Keys
Post by: morpheus on Mon, 24 February 2014, 00:10:07
Hi guys,

I have been trying to get back to liking my HHKB 2.
But there has been one major impediment.
I can't get used to the placement of the backspace.
The problem is, I want to change it from the Grey "DELETE" button, to the top left hand corner "~" key.

Is there a solution to this?

I await your elite responses.
Title: Re: HHKB 2 Pro - Remapping Keys
Post by: yasuo on Mon, 24 February 2014, 00:13:59
easy software like keytweak or http://www.inchwest.com/ (http://www.inchwest.com/)
AHK good option too
Title: Re: HHKB 2 Pro - Remapping Keys
Post by: dustinhxc on Mon, 24 February 2014, 00:15:29
Hmmmmmmmmmmmmmmmmmmmmmmm my answer got erased...

I will re type it I guess........

Auto Hot Key!

Make a new script, I use the following-

#InstallKeybdHook
RAlt::Ctrl
`::BackSpace

You would want

~::BackSpace

Save the script and run it. Run it whenever you boot windows or make an auto run shortcut.

If on mac then use keyremap4macbook.  :thumb:
Title: Re: HHKB 2 Pro - Remapping Keys
Post by: reziak on Mon, 24 February 2014, 00:22:46
One of my favorite parts about the HHKB is the location of the BS key! Looks like you got some solid advice, though  ;D
Title: Re: HHKB 2 Pro - Remapping Keys
Post by: morpheus on Mon, 24 February 2014, 00:24:04
Hmmmmmmmmmmmmmmmmmmmmmmm my answer got erased...

I will re type it I guess........

Auto Hot Key!

Make a new script, I use the following-

#InstallKeybdHook
RAlt::Ctrl
`::BackSpace

You would want

~::BackSpace

Save the script and run it. Run it whenever you boot windows or make an auto run shortcut.

If on mac then use keyremap4macbook.  :thumb:

Could you tell me step by step what to do? I am not familiar with scripts.
Title: Re: HHKB 2 Pro - Remapping Keys
Post by: atlas3686 on Mon, 24 February 2014, 00:38:07
Just check out Autohotkey's FAQ it's not tough at all he has literally given you the whole script you just need to check how Autohotkey works so you can implement it.
Title: Re: HHKB 2 Pro - Remapping Keys
Post by: Polymer on Mon, 24 February 2014, 00:56:38
One of my favorite parts about the HHKB is the location of the BS key! Looks like you got some solid advice, though  ;D

Yeah..I agree, one of my favorite things about the HHKB is where the backspace is...it took awhile to get used to going back and forth between it and a normal keyboard but eventually I got used to it....Using capslack as CTRL on the HHKB is very natural as well..although when I use other keyboards where I can put CTRL at the same place, it doesn't seem to have the same natural feel..really odd...
Title: Re: HHKB 2 Pro - Remapping Keys
Post by: morpheus on Mon, 24 February 2014, 02:05:53
Hmmmmmmmmmmmmmmmmmmmmmmm my answer got erased...

I will re type it I guess........

Auto Hot Key!

Make a new script, I use the following-

#InstallKeybdHook
RAlt::Ctrl
`::BackSpace

You would want

~::BackSpace

Save the script and run it. Run it whenever you boot windows or make an auto run shortcut.

If on mac then use keyremap4macbook.  :thumb:

So do I make a new script and then do this?

#InstallKeybdHook
RAlt::Ctrl
`::BackSpace

or this?

#InstallKeybdHook
RAlt::Ctrl
~::BackSpace

I am confused  :confused:
Title: Re: HHKB 2 Pro - Remapping Keys
Post by: RESPRiT on Mon, 24 February 2014, 02:08:27
Copy and paste this into a new .ahk file:

#InstallKeybdHook
RAlt::Ctrl
~::BackSpace

Run it, and then you're done.
Title: Re: HHKB 2 Pro - Remapping Keys
Post by: morpheus on Mon, 24 February 2014, 02:16:38
Ah it worked. Thanks guys.

Gonna take my HHKB for a spin now.

Title: Re: HHKB 2 Pro - Remapping Keys
Post by: morpheus on Mon, 24 February 2014, 02:30:10
One more question:

Is there a reference list of all the official names of the keys on the HHKB2 that I can use when I edit my scripts?

For example, if I wanted to change Left Shift to Fn, what would be the correct value that I would need to put into my script so that it works?

Title: Re: HHKB 2 Pro - Remapping Keys
Post by: dustinhxc on Mon, 24 February 2014, 03:55:52
Ah it worked. Thanks guys.

Gonna take my HHKB for a spin now.

Awesome to hear! :D  :thumb:

I dont know all of the key names but here are some more tips too.

http://lifehacker.com/316589/turn-any-action-into-a-keyboard-shortcut (http://lifehacker.com/316589/turn-any-action-into-a-keyboard-shortcut)
Title: Re: HHKB 2 Pro - Remapping Keys
Post by: atlas3686 on Mon, 24 February 2014, 04:17:31
One more question:

Is there a reference list of all the official names of the keys on the HHKB2 that I can use when I edit my scripts?

For example, if I wanted to change Left Shift to Fn, what would be the correct value that I would need to put into my script so that it works?

FYI, I don't think it's possible to map the FN key it's a hardware based key. (specifically talking about the HHKB)
Title: Re: HHKB 2 Pro - Remapping Keys
Post by: yasuo on Mon, 24 February 2014, 04:19:37
maybe

LShift::Fn
or
LShift::Function
Title: Re: HHKB 2 Pro - Remapping Keys
Post by: morpheus on Mon, 24 February 2014, 05:06:58
One more question:

Is there a reference list of all the official names of the keys on the HHKB2 that I can use when I edit my scripts?

For example, if I wanted to change Left Shift to Fn, what would be the correct value that I would need to put into my script so that it works?

FYI, I don't think it's possible to map the FN key it's a hardware based key. (specifically talking about the HHKB)

I think you're right.

maybe

LShift::Fn
or
LShift::Function


Tried both, didn't work.
Title: Re: HHKB 2 Pro - Remapping Keys
Post by: RESPRiT on Mon, 24 February 2014, 06:14:50
From what I understand function keys don't work because they don't actually send input to the computer, so it would be impossible to do server side (whoops this isn't networking) with software. I could be wrong though.
Title: Re: HHKB 2 Pro - Remapping Keys
Post by: CJNE on Mon, 24 February 2014, 06:39:19
Maybe you should give try a little harder to get used to the default locations of the keys? It's hard at first but after a while you might find that you like them, at least that's my experience.
I very much prefer the BS location on HHKB now.
The Fn location is harder to get used to though, the solution there is to find ways to not depend on the Fn layer keys :)
Don't you ever use the left shift key?
Title: Re: HHKB 2 Pro - Remapping Keys
Post by: atlas3686 on Mon, 24 February 2014, 07:07:16
From what I understand function keys don't work because they don't actually send input to the computer, so it would be impossible to do server side (whoops this isn't networking) with software. I could be wrong though.

Yes I think you are 100% right.

Just my two cents, I use LWin (left meta) + wasd as an extra set of arrows. This is more so I can keep my right hand on the mouse and still have access to arrows with my left.
Title: Re: HHKB 2 Pro - Remapping Keys
Post by: RESPRiT on Mon, 24 February 2014, 07:41:11
From what I understand function keys don't work because they don't actually send input to the computer, so it would be impossible to do server side (whoops this isn't networking) with software. I could be wrong though.

Yes I think you are 100% right.

Just my two cents, I use LWin (left meta) + wasd as an extra set of arrows. This is more so I can keep my right hand on the mouse and still have access to arrows with my left.

That's clever, I've also heard of people using toggles for the IJKL cluster, which seems pretty interesting. I just got my HHKB, so I don't know how I feel about the default arrow cluster yet, but I might end up setting LShift to toggle IJKL since I never use it anyways (who needs ergonomics anyways :P)
Title: Re: HHKB 2 Pro - Remapping Keys
Post by: dustinhxc on Mon, 24 February 2014, 13:18:04
Yeah I use left command as function.