Skip to content

Instantly share code, notes, and snippets.

@songzheng45
Created January 2, 2017 03:16
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save songzheng45/db310cbcd7b7a6aae8f8fdd4e590de4c to your computer and use it in GitHub Desktop.
Save songzheng45/db310cbcd7b7a6aae8f8fdd4e590de4c to your computer and use it in GitHub Desktop.
重映射Thinkpad 4X30K12182 蓝牙键盘的功能键为F1 ~ F12,需要先安装AutoKey
#SingleInstance force ; 重新启动该文件会加载修改过的.ahk文件
; auther LC
; 重映射Thinkpad 4X30K12182 蓝牙键盘的功能键为F1 ~ F12
; remap Thinkpad 4X30K12182 blue tooth keyborad Fn keys to F1 ~ F12 ;
; save this file as thinkpadRemap.ahk and install autohotkey to run it
; 不想重映射哪个按键就在那一行前面加一个分号
; comment any line with comma before the line to disable the key map
Volume_Mute:: send {F1}
Volume_Down:: send {F2}
Volume_Up:: send {F3}
Media_Prev:: send {F4}
Media_Play_Pause:: send {F5}
Media_Next:: send {F6}
Browser_Back:: send {F7}
Browser_Home:: send {F8}
AppsKey:: send {F9}
<#<+F21:: send {F10} ;工作的不太好,但貌似勉强能用 works but has side effect
<!<^Tab:: send {F11}
;<#l:: send {F12} ;实测无效 not work, still lock the screen although it will send F12
@songzheng45
Copy link
Author

@AlexeyBoiko
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment