Venomalia / UniversalDynamicInput

a custom button pack for dolphin that supports over 150 games!
Creative Commons Zero v1.0 Universal
149 stars 17 forks source link

Add support for LEGO The Lord of the Rings #166

Closed Sync-67 closed 7 months ago

Sync-67 commented 1 year ago

Might want to check this over, since it's my first time contributing to the project. It should be working, at least on the devices I have access to and can test (DInput/0/Keyboard Mouse, WGInput/0/Xbox One Game Controller, SDL/0/Xbox One S Controller).

I've added "SDL/0/Xbox One S Controller" as a default device in the UniversalDIT_Simple-Default.json using the Xbox One icons in the "#Default Devices" folder. (See Issue #165) Hopefully that saves a bit of work.

One of the textures that needed to be replaced is the menu "Show Controls" screen. This displayed a single texture with a control map baked in, so I had to alter it a bit to work with dynamic icons. However, this required icons without transparency to have them display correctly, so I've created icons with a single colour background for all the default devices using the existing Simple-Default style icons. I placed these icons in the "Simple-Default_BrownBG" folder and set up the .json to point to those textures when replacing the control map. I don't know if this is the best way to go about this, so if you have suggestions for a better way I'd be happy to change it.

Let me know if you need any more information, see any mistakes, or need me to change something!