Skip to content

Conversation

@Bitl
Copy link
Contributor

@Bitl Bitl commented Feb 16, 2023

Attempt to resolve #5.

This adds an additional string value to GamepadUIOption, allowing one to use a string value alongside or to replace the nValue variable.

Alongside this, the usesstring value has been added to allow the WheelyWheel element to read the value as a string and not an int or float.

Why is there a seperate value? This was done to reduce the amount of conflicts. The nvalue statement also works as an index, so you can iliterate through values with usesstring.

this is extremely experimental, but works fine in testing.

@Bitl
Copy link
Contributor Author

Bitl commented Feb 16, 2023

I have removed the string value from userdata and moved it to the main definition of GamepadUIOption for ease of use.

@DasMaddi
Copy link
Collaborator

DasMaddi commented Feb 24, 2023

Going to ask for @Joshua-Ashton to take a look when he has time, due to the number of changes involved in this one, I do not want to approve it by myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wheel type options only work with ints

2 participants