这大概是最奇怪的原神操作键盘了
为了避免自己可怜的笔记本出现同学那样打油的现象,专门使用了一个外置的数字小键盘避免频繁使用wasd键导致键盘打油与不灵敏
下图为按键原始图:
附:ahk
;@Ahk2Exe-SetCompanyName None
;@Ahk2Exe-SetCopyright MIT License
;@Ahk2Exe-SetDescription ReMapKeyBoard for GS
;@Ahk2Exe-SetVersion 1.2.4.0
;@Ahk2Exe-SetName ReMapKeyBoard
;@Ahk2Exe-SetMainIcon GenshinKeyIcon.ico
#NoTrayIcon
#SingleInstance force
full_command_line := DllCall("GetCommandLine", "str")
if not (A_IsAdmin or RegExMatch(full_command_line, " /restart(?!\S)")){
try{
Run '*RunAs "' A_ScriptFullPath '" /restart'
}
ExitApp
}
; 使用A键召唤Win键
F7 & A:: Send "{LWin}"
#Hotif WinActive("原神")
; 使用空格键控制Alt键
F7 & Space:: Send "{LAlt down}"
F7 & Space Up:: Send "{LAlt up}"
; 使用T键控制Control键
F7 & T:: Send "{Control down}"
F7 & T Up:: Send "{Control up}"
; 使用S键控制下树X键
F7 & S:: Send "X"
; 使用Y键控制同意Y键
F7 & Esc:: Send "Y"
; 使用W键控制地图M键
F7 & W:: Send "M"
; 使用F键控制队伍L键
F7 & F:: Send "L"
; 使用E键控制任务追踪V键
F7 & E:: Send "{V down}"
F7 & E Up:: Send "{V up}"
; 使用LShift键控制道具Z键
F7 & LShift:: Send "{Z down}"
F7 & LShift Up:: Send "{Z up}"
; 使用R键控制队伍5键
F7 & R:: Send "5"
; 使用1键控制背包B键
F7 & 1:: Send "B"
; 使用2键控制角色C键
F7 & 2:: Send "C"
; 使用3键控制任务J键
F7 & 3:: Send "J"
; 使用4键控制联机设置F2键
F7 & 4:: Send "{F2}"
; 使用D键控制好友O键
F7 & D:: Send "O"
; 使用下侧键控制Yap的启动与关闭
;F7 & XButton1:: {
; if (0 != ProcessExist("yap.exe")){
; Send "!0"
; }else{
; Run "yap.exe"
; }
;}
; 使用上侧键键转圈圈
F7 & XButton2::{
Sleep 125
startTime := A_TickCount
Loop{
currentTime := A_TickCount - startTime
DllCall("mouse_event", "uint", 1, "int", 0, "int", 50, "uint", 0)
DllCall("mouse_event", "uint", 1, "int", 400, "int", 0, "uint", 0)
Sleep 2
if (GetKeyState("Space")||(currentTime>=3000)){
break
}
}
}
/*
以下是 http://www.keyboard-layout-editor.com/ 的键盘布局备份
[{h:2},"Esc\n\n\nY","1\n\n\nB","2\n\n\nC","3\n\n\nJ","4\n\n\nF2",{h:2},"XBtn2\n\n\nAHK"],
[{x:1},"Q\n\n\nYap","W\n\n\nM","E\n\n\nV","R"],
["T\n\n\nCtrl","A\n\n\nWin","S\n\n\nX","D\n\n\nO","F\n\n\nL",{h:2},"XBtn1\n\n\nYap"],
[{w:2},"Shift\n\n\nZ",{c:"#fff9a7",a:7,f:6,w:2},"F11",{c:"#cccccc",a:4,f:3},"Space\n\n\nAlt"]
*/