ForceFeedbackJoystick Configuration Manual
Introduction
The ForceFeedbackJoystick I/O transforms game-device data from a joystick into CDP Signals.
Click here for a quick guide how to set up a ForceFeedbackJoystick Demo.
Configuring ForceFeedbackJoystick in CDP Studio
If the parameter QuietEnumeration is 0 (Default), the component will list all found devices upon startup. Example:
12:07:30.307 JoyApp.Joystick: Available joysticks: 12:07:30.307 JoyApp.Joystick: [0] "Thrustmaster T.Flight Hotas X" 12:07:30.307 JoyApp.Joystick: [1] "Logitech Extreme 3D pro"
Set QuietEnumeration to '1' to disable these printouts.
The following Properties are available:
| Property Name | Description |
|---|---|
| Device | This can be:
|
| SelectedDevice | The human-readable name of the device used, or empty, if none selected. |
On successful startup, the component will print the selected device:
12:07:30.359 JoyApp.Joystick: Selected Joystick Device "Logitech Extreme 3D pro", requested Device="1"
Note: On windows, this component depends on DirectX (at least version 9) being installed.
The ForceFeedbackJoystick has pre-defined signals for analog axes and buttons. It is possible to add more buttons to the instance if needed. Buttons named 'Button_<number>' will be automatically mapped in from the joystick if it has that many buttons. For instance, adding 3 CDPSignal<bool> called 'Button_9', 'Button_10' and 'Button_11' will add these additional buttons and automatically map them to the joystick buttons.
ForceFeedbackJoystick Demo
ForceFeedbackJoystick Demo - Describes how to run and configure a ForceFeedbackJoystick Demo
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.