Hi Team.
Question is it somehow possible to connect a custom controller to APP Developer to HId USB or is only UART coms with a converter possible such as on the ARDUINO boartd UART to USB with FTDI Serial to usb converter.
Thanks again for all help and pointers
App Developer and USB HID
- p.erasmus
- Posts: 434
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 12:01 pm
- Location: Russia / Россия
- Has thanked: 104 times
- Been thanked: 88 times
-
- Matrix Staff
- Posts: 1775
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 454 times
- Been thanked: 612 times
Re: App Developer and USB HID
Hello,
If the custom controller is pressing buttons such as standard keyboard buttons then you can use the keyboard component in app developer to collect the user input.
If your using analogue inputs then currently there is no way of doing this but might make for an easy addition if required.
If the custom controller is pressing buttons such as standard keyboard buttons then you can use the keyboard component in app developer to collect the user input.
If your using analogue inputs then currently there is no way of doing this but might make for an easy addition if required.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
- p.erasmus
- Posts: 434
- Joined: Thu Dec 03, 2020 12:01 pm
- Location: Russia / Россия
- Has thanked: 104 times
- Been thanked: 88 times
Re: App Developer and USB HID
Hi Ben Thank you for the comments
It would be nice with we could connect a custom controller to HID with App Dveloper I would vote for an addtion if not to hard to do
It would be nice with we could connect a custom controller to HID with App Dveloper I would vote for an addtion if not to hard to do
Regards Peter - QME Electronics
-
- Matrix Staff
- Posts: 1775
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 454 times
- Been thanked: 612 times
Re: App Developer and USB HID
Hi Peter,
Out of interest what sort of controller are you using. It looks like Windows has lots of libraries for dealing with XBOX type controllers but atm I'm not finding much else on other controller types. There is a legacy joystick library which I could dive into if you're not using an XBOX controller.
So you know you can do DLL calls in Flowcode using the techniques described here.
https://www.matrixtsl.com/blog/expandin ... sing-dlls/
This documents the Windows Joystick API which we would call inside the DLL, it's not something I am too familiar with but given time I might be able to cobble something together.
https://docs.microsoft.com/en-us/window ... /joysticks
Another option might be to use a Wii controller via an API Slave which should already work nicely in app developer.
Out of interest what sort of controller are you using. It looks like Windows has lots of libraries for dealing with XBOX type controllers but atm I'm not finding much else on other controller types. There is a legacy joystick library which I could dive into if you're not using an XBOX controller.
So you know you can do DLL calls in Flowcode using the techniques described here.
https://www.matrixtsl.com/blog/expandin ... sing-dlls/
This documents the Windows Joystick API which we would call inside the DLL, it's not something I am too familiar with but given time I might be able to cobble something together.
https://docs.microsoft.com/en-us/window ... /joysticks
Another option might be to use a Wii controller via an API Slave which should already work nicely in app developer.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
- p.erasmus
- Posts: 434
- Joined: Thu Dec 03, 2020 12:01 pm
- Location: Russia / Россия
- Has thanked: 104 times
- Been thanked: 88 times
Re: App Developer and USB HID
Hi Ben ,
Thank you for all your wisdom,
We are currently in the planning phase of this project once I have more definate decsions I will come back to you however it is some control box that will allow a Hotel group to use there exsiting TV set up with the addition of this new controller it is clear that it will show up as keyboard in the HID so as you mentioned then the keypad component should allow us to use APP Developer ,
It was just my thinking, if we could use a standard custom HID funtion some how sending 64Bytes and receiving 64bytes of data over HID (similar as mikroElectronika HID allows the user to create and geneated a descriptor for it) it would allow us to connect APP developer to many different controllers and appliactions
Once I have more about this specific project I will ask help and advise
Thank you for all your wisdom,
We are currently in the planning phase of this project once I have more definate decsions I will come back to you however it is some control box that will allow a Hotel group to use there exsiting TV set up with the addition of this new controller it is clear that it will show up as keyboard in the HID so as you mentioned then the keypad component should allow us to use APP Developer ,
It was just my thinking, if we could use a standard custom HID funtion some how sending 64Bytes and receiving 64bytes of data over HID (similar as mikroElectronika HID allows the user to create and geneated a descriptor for it) it would allow us to connect APP developer to many different controllers and appliactions
Once I have more about this specific project I will ask help and advise
Regards Peter - QME Electronics