kengineer Posted November 15, 2016 Report Posted November 15, 2016 I noticed when building my application for WIN32 that at the bottom of the application window there are greyboxes that you can click. I'm guessing these are toggles since I have the GINPUT toggle option enabled. I've used these in an embedded application, but if these are toggles, how do I register and use them them (ginputGetToggle to get their handle) in this case? Do I need a different board file?
inmarket Posted November 15, 2016 Report Posted November 15, 2016 You are exactly right. They are toggles! As you saw they are turned on automatically if you turn on the toggle sub-system. You don't need to update any board file. I think from memory 4 emulate on-off switches and 4 emulate momentary on buttons. That arrangement can probably be changed in the Win32 toggle driver (which is part of the Win32 gdisp driver for obvious reasons). From memory they are just assigned as toggle 0 through 7. If you need more detail let me know and I will refresh my memory
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now