orbitersim / orbiter

Open-source repository of Orbiter Space Flight Simulator
MIT License
1.6k stars 215 forks source link

DirectInput alternative #21

Open matthew-reid opened 3 years ago

matthew-reid commented 3 years ago

Any plans to replace DirectInput with a cross platform input system, like SDL or OpenInputSystem? This would really help me with testing my 64 bit build where dx7 is disabled.

I've used both OIS and SDL before (Skybolt currently uses OIS) and found them both to be very capable and easy to integrate.

mschweiger commented 3 years ago

For the time being I am only planning to move from dinput7 to dinput8, which would require minimal code changes. dinput8 does provide x64 versions of the libraries, AFAIK. This is just to get the 64-bit build running quickly. I might consider other options in the longer term.

InfoLibre commented 3 years ago

Do you plan to replace DirectX by Vulkan ?

TChapman500 commented 2 years ago

The DirectInput 8 implementation doesn't work.

matthew-reid commented 2 years ago

@TChapman500 did you try the 23-disable_dx7_on_x64 branch? The dx7 libs were replaced with dx8, but using the same interfaces I think(?). That works for me on 64 bit windows.

TChapman500 commented 2 years ago

I didn't even know that option existed and I don't know how to toggle it.

matthew-reid commented 2 years ago

The option can't be toggled in the application. To get 64 bit you must recompile orbiter from the source code, using git to check out the 64 bit branch. If you're not experienced with software development you may want to wait for the 64 bit release which I believe Martin is working on.

On Tue., 2 Nov. 2021, 3:58 am Timothy Chapman, @.***> wrote:

I didn't even know that option existed and I don't know how to toggle it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/orbitersim/orbiter/issues/21#issuecomment-956406746, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAU5OQLZL35LL6VBXSZAFLTUJ3BLBANCNFSM5BK236PA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

TChapman500 commented 2 years ago

Oh, it's a repository branch. Didn't catch that the first time. I thought it was a compiler option. Also, I am experienced with software development.