Re: [AHK-] 請問怎麼真實模擬D-pad的上下左右?
※ 引述《bodhi (????)》之銘言:
: 無論上下/左右 最後輸入的為準 所以壓住上 按下 就是下 壓住左按右 就是右
: 而且一旦放開 就是以尚未放開的為準 所以壓住上下 放開上之後 就是下work
這邊只有上下的,左右同理。
~up::
if (GetKeyState("down")) {
Send {down up}
}
return
~up up::
if (GetKeyState("down", "P")) {
Send {down down}
}
return
~down::
if (GetKeyState("up")) {
Send {up up}
}
return
~down up::
if (GetKeyState("up", "P")) {
Send {up down}
}
return
不過格鬥遊戲的話還是乖乖練比較好吧 xD
--
(* ̄▽ ̄)/‧★*"`'*-.,_,.-*'`"*-.,_☆,.-*`
http://i.imgur.com/oAd97.png

--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 118.161.136.124
※ 文章網址: https://www.ptt.cc/bbs/EzHotKey/M.1429750847.A.558.html
推
04/24 10:56, , 1F
04/24 10:56, 1F
→
04/24 10:57, , 2F
04/24 10:57, 2F
討論串 (同標題文章)