Does anyone have any sample code in c++ for using the IO warrior in the switch matrix mode? I have looked on the IO Warrior CD but I can't seem to find any. I don't know if it is me who is not looking hard enough.
Thanks, Paul.
Switch Matrix Sample Software Code
Moderator: Guido Körber
- Christoph Jung
- Posts: 670
- Joined: Sun Oct 08, 2006 3:43 pm
- Location: Germany / Berlin
- Contact:
Re: Switch Matrix Sample Software Code
Sorry for that, but we don't have samplecode for switch matrix at the moment
But it is very simple to use.
Enable the switch matrix mode withc report-id 0x18.
Use the report-id 0x19 and IowKitReadNonBlocking() in a timer.
The other funtions like open the device and so on will be find into the other samples.
We will create a sample as soon as possible.
But it is very simple to use.
Enable the switch matrix mode withc report-id 0x18.
Use the report-id 0x19 and IowKitReadNonBlocking() in a timer.
The other funtions like open the device and so on will be find into the other samples.
We will create a sample as soon as possible.
Re: Switch Matrix Sample Software Code
Ok, I do not have much programming experience but I will try it, if anyone has already created something that performs these operations and would be willing to share it, I would greatly appreciate it.
Regarding the timer, can you elaborate on what exactly would have to be implemented for it to read the switch inputs correctly?
Paul.
Regarding the timer, can you elaborate on what exactly would have to be implemented for it to read the switch inputs correctly?
Paul.