About the input system
Posted: Wed Jan 03, 2024 9:05 am
Hi, everyone.
I've started up a new project to develop a new GUI frontend for Supermodel emulator by using C#.net and I would like to implement a UI for input-config mapping user interface.
I've already figure out how to get DirectInput, Xinput, Keyboard ...etc. and how to write into config.ini with C# library. However, I have not found a good way to mapping the naming system of inputs in C# library to the naming in Supermodel.
I've tried to read the input system source code but it's really too hard for me to understand them all.
I've even tried to call "supermodel -config-inputs" command prompt to get the text message back to C# but failed.
Any good suggestion? Is there any possible to pack the input system codes of Supermodel as a library in C# for better integration of the UI code?
Thank you.
I've started up a new project to develop a new GUI frontend for Supermodel emulator by using C#.net and I would like to implement a UI for input-config mapping user interface.
I've already figure out how to get DirectInput, Xinput, Keyboard ...etc. and how to write into config.ini with C# library. However, I have not found a good way to mapping the naming system of inputs in C# library to the naming in Supermodel.
I've tried to read the input system source code but it's really too hard for me to understand them all.
I've even tried to call "supermodel -config-inputs" command prompt to get the text message back to C# but failed.
Any good suggestion? Is there any possible to pack the input system codes of Supermodel as a library in C# for better integration of the UI code?
Thank you.