robmikh / SoHConfig

A configuration utility for the Ship of Harkinian.
MIT License
23 stars 4 forks source link

Cannot select any controller #5

Open malvarenga123 opened 2 years ago

malvarenga123 commented 2 years ago

image

For the record, the original soh.exe does not dectect my controller/adapter either. I could only get it to work with the one from here: https://discord.com/channels/808039310850130000/955958338384982126/956343199457247343

[controller section]
gyro_sensitivity=1.000000
rumble_strength=1.000000
input_scale=1.000000
input_enabled=1
[sdl controller binding damnit]
btn_cright=515
btn_cleft=-515
btn_cdown=514
btn_cup=-514
btn_r=7
btn_l=6
btn_dright=
btn_dleft=
btn_ddown=
btn_dup=
btn_start=11
btn_z=4
btn_b=3
btn_a=2
btn_stickright=512
btn_stickleft=-512
btn_stickdown=513
btn_stickup=-513
sdl_controller_axis_leftx_threshold=16.000000
sdl_controller_axis_lefty_threshold=16.000000
sdl_controller_axis_rightx_threshold=16384
sdl_controller_axis_righty_threshold=16384
sdl_controller_axis_triggerleft_threshold=7680
sdl_controller_axis_triggerright_threshold=7680
robmikh commented 2 years ago

If the original soh.exe does not detect it, neither will SoHConfig. They both use SDL's GameController abstraction to interface with controllers. I'm not sure what the version you're using is doing, but if the source is available on the main soh repo I can look into it once it hits the main or develop branches.

malvarenga123 commented 2 years ago

According to @m4xw in https://github.com/HarbourMasters/Shipwright/issues/126, it's the following branch: https://github.com/HarbourMasters/Shipwright/tree/controller_shenans