Create new Game keys in windows

AceScottie

Honorable
Nov 23, 2013
143
0
10,710
I want to create my own custom controller using arduino and some buttons/thumbsticks.
I want to create a custom button input list and use those specific buttons in games the same way any controller or other eripheral will do.
I do not want to use keyboard keys, the point is i will have 100+ keys and about 6 -8 axis on this panel.

im looking for information about how manufactuors create their devices and program in their keys. an example is how does the Xbox controller button A differ from a playstation controller X yet neither will press any keyboard key and they both act independantly based on their driver software.
Those specificly definde key presses is what im trying to find out how to define and make within windows so i can use software to press those newly created keys.
 
Solution
Your controller will need to present the necessary "keyboard" key presses to the software.

For example here is a Java related link to demonstrate what happens:

http://unixpapa.com/js/testkey.html

And the software you are using must then use the incoming event information and respond as required or programmed.

Here is another similar tool:

https://www.passmark.com/products/keytest.ht

Perhaps third party products such as JoyToKey to emulate keyboard key presses (https://joytokey.net/en/).

Overall, you will need keyboard and device/controller schematics. And the information being output when a key is pressed.

Google "Xbox controller schematic"

Example link that I found...

Ralston18

Titan
Moderator
Your controller will need to present the necessary "keyboard" key presses to the software.

For example here is a Java related link to demonstrate what happens:

http://unixpapa.com/js/testkey.html

And the software you are using must then use the incoming event information and respond as required or programmed.

Here is another similar tool:

https://www.passmark.com/products/keytest.ht

Perhaps third party products such as JoyToKey to emulate keyboard key presses (https://joytokey.net/en/).

Overall, you will need keyboard and device/controller schematics. And the information being output when a key is pressed.

Google "Xbox controller schematic"

Example link that I found:

https://www.google.com/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=2ahUKEwj4gPTKv6jaAhVhoFkKHbxJADoQjRx6BAgAEAU&url=http%3A%2F%2Fcrayonbox.co%2Fxbox-360-controller-wire-diagram%2F&psig=AOvVaw0xOn4o5JpKeN2vVw_saPNn&ust=1523201949129761

What is needed is for your custom controller buttons to map or mimic the key presses of the Xbox controller.

Very detailed:

http://xboxdevwiki.net/Xbox_Input_Devices

And do keep in mind that controls moved to keyboard as a matter of convenience.

Stumbled across the following link:

https://github.com/RetroPie/RetroPie-Setup/wiki/Keyboard-Controllers

Link may prove useful for some "reverse engineering".

Start with a small pilot custom controller and expand as you learn.
 
Solution