Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

Easily Add Joystick Support (DirectX) with VCL In Delphi And C++Builder On Windows

It is surprisingly easy to add joystick support to your VCL app on Windows. Here is third party Delphi and C++ Builder component from WINSOFT for retrieving joystick position and status for any keys.

You can use wired or wireless joystick for your application like games, audio/video players and other application. I have tested this delphi component on a recent Windows 10. All functionality corresponds to the declared. All buttons my joystick successful detected. Also works analog sticks. Now let’s view this demo (included to instalation packages)

The first thing you need to do is install component to Delphi. It’s very fast and simple! Look this video.

Demo included to component package. Now let’s look at the stages of working with a component.

# 1 stage – Enumerate controlers

[crayon-6741b2acb8d83302501852/]

# 2 stage – Connect to controler and get value ranges

[crayon-6741b2acb8d96438331492/]

# 3 stage – Now we can read current values from controller anytime.

[crayon-6741b2acb8d98130705452/]

This component was developed by WINSOFT.

The component uses the DirectX API
Extended capabilities also provide support for rudder pedals, flight yokes, and other devices that use up to six axes of movement, a point-of-view hat, and 32 buttons.
This component has both versions for FireMonkey and for VCL applications to Delphi / C ++ Builder 10 – 10.4.

Works with: Delphi, C ++ Builder, RAD Server, FireMonkey, VCL
Works on: Windows 32-bit, Windows 64-bit

Source code included in registered version. Royalty free distribution with application without any limitation.

Related links
Here is packages for VCL and Firemonkey:
Joystick
Joystick for FireMonkey
DirectX Joystick
DirectX Joystick for FireMonkey

Head over and check out the full WINSOFT library for DirectX Joystick support for VCL in Delphi and C++Builder.

Exit mobile version