Venomalia / UniversalDynamicInput

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

Buttons with multiple assignments do not generate textures #47

Open ds22x opened 2 years ago

ds22x commented 2 years ago

Game Name?

No response

Game ID?

No response

Input device ID?

No response

Dolphin version?

5-0-15445

Operating System?

Windows 10

Describe the bug.

Buttons which have multiple input assignments given to them (separated by a "|" character) will not generate a replacement texture.

Expected behavior.

Use the first button in line as source for the replacement texture.

Venomalia commented 2 years ago

InputSyntax are not supported at the moment because there is an uncountable amount of combinations. unfortunately it will also take a while until it is directly supported by dolphin. :(

up2urheadlights commented 1 year ago

For anyone interested in a workaround, just configure your controller with one input, then delete the DynamicInputTextures folder from /load/. The generated button textures should remain in the /load/textures directory, and because you uninstalled Universal Dynamic Input you can now re-enable your multiple inputs without it interfering with button textures.

ShadowSageStudios commented 1 year ago

InputSyntax are not supported at the moment because there is an uncountable amount of combinations. unfortunately it will also take a while until it is directly supported by dolphin. :(

So is this a limitation of what UDI is doing, or how Dolphin handles DIT?

For anyone interested in a workaround, just configure your controller with one input, then delete the DynamicInputTextures folder from /load/. The generated button textures should remain in the /load/textures directory, and because you uninstalled Universal Dynamic Input you can now re-enable your multiple inputs without it interfering with button textures.

Given that the above is a workaround (albeit an extremely clunky one), would it be at all possible to read in the assigned device and button configuration, but stop/truncate once it sees certain operators, such as |, &, or ^?