I was just going to change it around a bit, but ended up completely rewriting this.
Got too used to my HHKB already and trying to hit Backspace on the Filco wasn't working. I can still use all the extended keys (as in, normal keys on a 104 board), just needed the middle part to work the same for my own personal use.
Mine is to simulate the
full HHKB, with left <> as Fn (use left thumb for Fn, way easier than left or right pinky) (in addition to Mac mode and with backspace, but it seems these are assumed).
As in, everything is in the right SPOT, not labelled correctly. The keys beside the spacebar are <>, not Alt. Mac Mode on the real HHKB and my script makes the right Alt an AltGr, even though this isn't shown even by PFU.
Took me forever, and I still don't understand many concepts.
For some reason, CapsLock won't go OFF. This is after it took me a while to get it to work in the first place. Look at all those Send{}s! I don't know why it needs them, but it does.
Grave is also messed up
(EDIT: ONLY ON COLEMAK), spits out two at a time every other press.
Pause does not work
(EDIT: seems fine now... but how can I test it?) because of the crap I had to go through because of AutoHotKey's apparent issue with Colemak, you can see me working around it with SC027. It seems to define keys based on the CURRENT LAYOUT, not the actual keys, which is problematic, etc.
EDIT so down to one issue when using QWERTY... the Caps Lock. Everything else seems fine. Need to fix the Colemak version...EDIT: huge issue though... I can't seem to combine a Fn+? keypress with another. Like doing Alt+F4 on a real HHKB, I'd do Fn+Alt+4, but that doesn't work here. Not sure if this is the way I wrote this or AutoHotKey.QWERTY; HHKB Pro2 emulation by AndrewZorn
; for use with QWERTY
; with DIP in position 011100
; (Mac Mode, Backspace, Left Fn)
;
; inspired by and based on ripster's
;
; "Insert" becomes `/~ because Backspace is too big
; "Right Ctrl" becomes Fn
; this is for ANSI keyboard
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
SC029::Esc
CapsLock::LCtrl
\::Backspace
Backspace::\
Insert::`
; Fix Alt/<> keys
LWin::Alt
LAlt::Send {nothinglol}
RWin::RAlt
RAlt::RWin
RCtrl::Send {nothinglol}
; For the sake of accuracy
LCtrl::Send {nothinglol}
SC15D::Send {nothinglol}
; Left Fn key (why does everything need Send{}?)
LAlt & 1::Send {F1}
LAlt & 2::Send {F2}
LAlt & 3::Send {F3}
LAlt & 4::Send {F4}
LAlt & 5::Send {F5}
LAlt & 6::Send {F6}
LAlt & 7::Send {F7}
LAlt & 8::Send {F8}
LAlt & 9::Send {F9}
LAlt & 0::Send {F10}
LAlt & -::Send {F11}
LAlt & =::Send {F12}
LAlt & Backspace::Send {Insert} ; not sure Insert even works right on my HHKB
LAlt & Insert::Send {Del}
LAlt & Tab::Send {CapsLock}
LAlt & h::Send {*}
LAlt & j::Send {/}
LAlt & n::Send {+}
LAlt & m::Send {-}
LAlt & k::Send {Home}
LAlt & ,::Send {End}
LAlt & l::Send {PgUp}
LAlt & .::Send {PgDn}
LAlt & [::Send {Up}
LAlt & SC027::Send {Left}
LAlt & '::Send {Right}
LAlt & /::Send {Down}
LAlt & i::Send {PrintScreen}
LAlt & o::Send {ScrollLock}
LAlt & p::Send {Pause}
; Right Fn key (REPEATED FROM ABOVE, notice I can't figure out custom modifiers)
RCtrl & 1::Send {F1}
RCtrl & 2::Send {F2}
RCtrl & 3::Send {F3}
RCtrl & 4::Send {F4}
RCtrl & 5::Send {F5}
RCtrl & 6::Send {F6}
RCtrl & 7::Send {F7}
RCtrl & 8::Send {F8}
RCtrl & 9::Send {F9}
RCtrl & 0::Send {F10}
RCtrl & -::Send {F11}
RCtrl & =::Send {F12}
RCtrl & Backspace::Send {Insert} ; not sure Insert even works right on my HHKB
RCtrl & Insert::Send {Del}
RCtrl & Tab::Send {CapsLock}
RCtrl & h::Send {*}
RCtrl & j::Send {/}
RCtrl & n::Send {+}
RCtrl & m::Send {-}
RCtrl & k::Send {Home}
RCtrl & ,::Send {End}
RCtrl & l::Send {PgUp}
RCtrl & .::Send {PgDn}
RCtrl & [::Send {Up}
RCtrl & SC027::Send {Left}
RCtrl & '::Send {Right}
RCtrl & /::Send {Down}
RCtrl & i::Send {PrintScreen}
RCtrl & o::Send {ScrollLock}
RCtrl & p::Send {Pause}
Colemak; HHKB Pro2 emulation by AndrewZorn
; for use with COLEMAK
; with DIP in position 011100
; (Mac Mode, Backspace, Left Fn)
;
; inspired by and based on ripster's
;
; "Insert" becomes `/~ because Backspace is too big
; "Right Ctrl" becomes Fn
; this is for ANSI keyboard
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
SC029::Esc
CapsLock::LCtrl
\::Backspace
Backspace::\
Insert::` ; ` not working right, sends in doubles only
; Fix Alt/<> keys
LWin::Alt
LAlt::Send {nothinglol}
RWin::RAlt
RAlt::RWin
RCtrl::Send {nothinglol}
; For the sake of accuracy
LCtrl::Send {nothinglol}
SC15D::Send {nothinglol}
; Left Fn key (why does everything need Send{}?)
LAlt & 1::Send {F1}
LAlt & 2::Send {F2}
LAlt & 3::Send {F3}
LAlt & 4::Send {F4}
LAlt & 5::Send {F5}
LAlt & 6::Send {F6}
LAlt & 7::Send {F7}
LAlt & 8::Send {F8}
LAlt & 9::Send {F9}
LAlt & 0::Send {F10}
LAlt & -::Send {F11}
LAlt & =::Send {F12}
LAlt & Backspace::Send {Insert} ; not sure Insert even works right on my HHKB
LAlt & Insert::Send {Del}
LAlt & Tab::Send {CapsLock}
LAlt & h::Send {*}
LAlt & n::Send {/}
LAlt & k::Send {+}
LAlt & m::Send {-}
LAlt & e::Send {Home}
LAlt & ,::Send {End}
LAlt & i::Send {PgUp}
LAlt & .::Send {PgDn}
LAlt & [::Send {Up}
LAlt & o::Send {Left}
LAlt & '::Send {Right}
LAlt & /::Send {Down}
LAlt & u::Send {PrintScreen}
LAlt & y::Send {ScrollLock}
LAlt & SC027::Send {Pause}
; Right Fn key (REPEATED FROM ABOVE, notice I can't figure out custom modifiers)
RCtrl & 1::Send {F1}
RCtrl & 2::Send {F2}
RCtrl & 3::Send {F3}
RCtrl & 4::Send {F4}
RCtrl & 5::Send {F5}
RCtrl & 6::Send {F6}
RCtrl & 7::Send {F7}
RCtrl & 8::Send {F8}
RCtrl & 9::Send {F9}
RCtrl & 0::Send {F10}
RCtrl & -::Send {F11}
RCtrl & =::Send {F12}
RCtrl & Backspace::Send {Insert} ; not sure Insert even works right on my HHKB
RCtrl & Insert::Send {Del}
RCtrl & Tab::Send {CapsLock}
RCtrl & h::Send {*}
RCtrl & n::Send {/}
RCtrl & k::Send {+}
RCtrl & m::Send {-}
RCtrl & e::Send {Home}
RCtrl & ,::Send {End}
RCtrl & i::Send {PgUp}
RCtrl & .::Send {PgDn}
RCtrl & [::Send {Up}
RCtrl & o::Send {Left}
RCtrl & '::Send {Right}
RCtrl & /::Send {Down}
RCtrl & u::Send {PrintScreen}
RCtrl & y::Send {ScrollLock}
RCtrl & SC027::Send {Pause}