Custom Device
Last updated
Last updated
In certain scenarios, when using the Input Simulate method, it’s necessary for touch controls to be identified as a unique input device, separate from gamepads, keyboards, mice, or other standard devices. This is where the Tactile Device comes into play.
The Tactile Device is a flexible and customizable virtual input device, allowing you to design a specific set of input controls tailored to your requirements—essentially enabling you to create your own custom controller.
In the Game Creator Settings window, navigate to the Tactile section and locate the Device Layout. Here, you can customize and specify the exact set of input controls to suit your needs.
After configuring your input controls, click the Apply Changes button. Once applied, you can verify your changes by opening the Input Debug window. The controls listed under the Tactile layout should match the input controls you specified.
Use the Input Simulate
field to bind input control to its corresponding Control Type within the Tactile Control component. For example, the movestick can be assigned to the Analog Stick Control Type. Once set up, the Tactile Device Input Property can be used in the Character's Input Move
field to retrieve values and effectively control its motion.
An alternative to the Tactile Device Input Property is to use an Input Action Asset. This approach allows you to support multiple input devices—such as gamepads, keyboards, mice, and on-screen controls—within a single project, enabling more versatile, scalable, and unified input handling.