Skip to content

Commit

Permalink
First Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
OhYee committed Dec 16, 2018
0 parents commit baaa6a5
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 0 deletions.
3 changes: 3 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Do what you want.

Just star.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Something about SpaceFn
- [The SpaceFN layout: trying to end keyboard inflation](https://geekhack.org/index.php?topic=51069.0)
-[AutoHotKey实现SpaceFn](https://www.oyohyee.com/post/Note/spacefn/)

|Key|Function|
|:---:|:---:|
|Quick click `Space`|`Space`|
|`Space`+`i`|`Up Arrow`|
|`Space`+`k`|`Down Arrow`|
|`Space`+`j`|`Left Arrow`|
|`Space`+`l`|`Right Arrow`|
|`Space`+`u`|`Home`|
|`Space`+`o`|`End`|
|`Space`+`n`|`Page Up`|
|`Space`+`m`|`Page Down`|
|`Space`+`Enter`|`Ctrl`+`Enter`|
|`Space`+`1`|`F1`|
|`Space`+`2`|`F2`|
|`Space`+`3`|`F3`|
|`Space`+`4`|`F4`|
|`Space`+`5`|`F5`|
|`Space`+`6`|`F6`|
|`Space`+`7`|`F7`|
|`Space`+`8`|`F8`|
|`Space`+`9`|`F9`|
|`Space`+`0`|`F10`|
|`Space`+`-`|`F11`|
|`Space`+`=`|`F12`|

# LICENSE
Do whatever you want.
And don't forget to leave a star.
42 changes: 42 additions & 0 deletions Spacefn.ahk
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
;SpaceFn
#inputlevel,2
$Space::
SetMouseDelay -1
Send {Blind}{F24 DownR}
KeyWait, Space
Send {Blind}{F24 up}
; MsgBox, %A_ThisHotkey%-%A_TimeSinceThisHotkey%
if(A_ThisHotkey="$Space" and A_TimeSinceThisHotkey<300)
Send {Blind}{Space DownR}
return

#inputlevel,1
F24 & i::Up
F24 & k::Down
F24 & j::Left
F24 & l::Right
F24 & u::Home
F24 & o::End
F24 & n::PgUp
F24 & m::PgDn

F24 & 1::F1
F24 & 2::F2
F24 & 3::F3
F24 & 4::F4
F24 & 5::F5
F24 & 6::F6
F24 & 7::F7
F24 & 8::F8
F24 & 9::F9
F24 & 0::F10
F24 & -::F11
F24 & =::F12

F24 & Enter::^Enter

;Ctrl+S 重加载
; ~^s::
; sleep 500
; Reload
; return
Binary file added dist/SpaceFN.exe
Binary file not shown.

0 comments on commit baaa6a5

Please sign in to comment.