2、适配yuzu的操作
关掉电脑右下角的mouse2joystick,将mouse2joystick.ahk文件拖入文本编辑器,找到setStick(x,y, a := False) 这个函数,在函数体最前面加入
y:=y*-1
即可。然后保存,重新双击运行这个mouse2joystick.ahk文件。
然后打开yuzu,在vjoy激活的情况下(用过cemu的都知道怎么做我就不说了),进入按键设置,
在输入设备中点击vJoy Device 0,右边的配置方案最好留个名字等下保存,然后设置按键。
设置按键的方法,是先点击面板上的按键,在它等待输入期间,按F1,再按相应按键,模拟器就识别到vjoy的按键了。然后再按F1回来才能用鼠标点击下一个按键。这样做实在太繁琐,我的文件是这样的:
[Controls]
type\default=true
type=0
button_a\default=false
button_a="engine:sdl,guid:0300000034120000adbe000000000000,port:0,pad:0,button:0"
button_b\default=false
button_b="engine:sdl,guid:0300000034120000adbe000000000000,port:0,pad:0,button:1"
button_x\default=false
button_x="engine:sdl,guid:0300000034120000adbe000000000000,port:0,pad:0,button:2"
button_y\default=false
button_y="engine:sdl,guid:0300000034120000adbe000000000000,port:0,pad:0,button:3"
button_lstick\default=false
button_lstick="engine:sdl,guid:0300000034120000adbe000000000000,port:0,pad:0,button:10"
button_rstick\default=false
button_rstick="engine:sdl,guid:0300000034120000adbe000000000000,port:0,pad:0,button:11"
button_l\default=false
button_l="engine:sdl,guid:0300000034120000adbe000000000000,port:0,pad:0,button:4"
button_r\default=false
button_r="engine:sdl,guid:0300000034120000adbe000000000000,port:0,pad:0,button:5"
button_zl\default=false
button_zl="engine:sdl,guid:0300000034120000adbe000000000000,port:0,pad:0,button:6"
button_zr\default=false
button_zr="engine:sdl,guid:0300000034120000adbe000000000000,port:0,pad:0,button:7"
button_plus\default=false
button_plus="engine:sdl,guid:0300000034120000adbe000000000000,port:0,pad:0,button:8"
button_minus\default=false
button_minus="engine:sdl,guid:0300000034120000adbe000000000000,port:0,pad:0,button:9"
button_dleft\default=false
button_dleft="engine:sdl,guid:0300000034120000adbe000000000000,port:0,pad:0,button:14"
button_dup\default=false
button_dup="engine:sdl,guid:0300000034120000adbe000000000000,port:0,pad:0,button:12"
button_dright\default=false
button_dright="engine:sdl,guid:0300000034120000adbe000000000000,port:0,pad:0,button:15"
button_ddown\default=false
button_ddown="engine:sdl,guid:0300000034120000adbe000000000000,port:0,pad:0,button:13"
button_sl\default=false
button_sl=[empty]
button_sr\default=false
button_sr=[empty]
button_home\default=false
button_home=[empty]
button_screenshot\default=false
button_screenshot=[empty]
lstick\default=false
lstick="axis_x:3,engine:sdl,guid:0300000034120000adbe000000000000,port:0,range:1.000000,pad:0,axis_y:4,threshold:0.500000,deadzone:0.500000"
rstick\default=false
rstick="axis_x:0,engine:sdl,guid:0300000034120000adbe000000000000,port:0,range:1.500000,pad:0,axis_y:1,threshold:0.500000,deadzone:0.500000"
motionleft\default=false
motionleft=[empty]
motionright\default=false
motionright=[empty]