You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've come across a problem and I'm not able to find the appropriate help file to help me along.
I'm specifically interested in how the automatic gui is generated from my desc file, or rather: What I can write in my desc file to affect how it looks/feels.
I recently added a MKtl description for the device "shanwan_ps3" here. If you open up that one as a virtual device like this: c = MKtl('controller', "shanwan_ps3"); c.gui;
You will get a super weird gui where the buttons somehow have become really bad number sliders. This is probably my fault but I'm not totally sure how to fix it or generally make the gui parts of my desc files better. It would be really cool if anyone has time to write just a few lines of help about how to deal with this (or perhaps point me in the direction of the appropriate help file if it's already written somewhere). Thanks! Keep up the great work!
The text was updated successfully, but these errors were encountered:
you might want to look at desc file for a similar controller... the layout for each element is determined by its elementType, the position by a separate key called style:
Okay, sorry. I made a mistake and wrote elementType: Button with a capital B in it which made these weird sliders. Okay, so then all I need to worry about in terms of gui layout is the style parameter. Thanks!
Hi everyone
I've come across a problem and I'm not able to find the appropriate help file to help me along.
I'm specifically interested in how the automatic gui is generated from my desc file, or rather: What I can write in my desc file to affect how it looks/feels.
I recently added a MKtl description for the device "shanwan_ps3" here. If you open up that one as a virtual device like this:
c = MKtl('controller', "shanwan_ps3"); c.gui;
You will get a super weird gui where the buttons somehow have become really bad number sliders. This is probably my fault but I'm not totally sure how to fix it or generally make the gui parts of my desc files better. It would be really cool if anyone has time to write just a few lines of help about how to deal with this (or perhaps point me in the direction of the appropriate help file if it's already written somewhere). Thanks! Keep up the great work!
The text was updated successfully, but these errors were encountered: