Jump to content

Joystick Support


Guest Drag
 Share

Recommended Posts

LE does not handle those input devices directly. You'd need to do that in the language you are using and/or with 3rd party libs.

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

External libraries have nothing to do with LE, they work in any C++ program. The same way LE is just another external library for C++ as all the other thousands of libraries for C++.

 

The most popular Joystick libraries for C++ are SDL and OIS:

SDL: http://www.libsdl.org/download.php

OIS: http://sourceforge.net/projects/wgois/files/

 

I would probably use SDL, since it brings also MMO capable network functions.

 

If I want only a input library for Joysticks and other controllers and don't need anything else from SDL, then I would use OIS, since it's much smaller and not so bloated as SDL.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

  • 3 weeks later...

For the Blitzmax users I can recommend FryPad.

 

"..is a free module that provides an abstract control interface that sits between your game logic and the various

control systems (keyboards, joypads etc.) the player wishes to use."

 

Core2DuoE6570 / Windows7 64bit / 4 Gb RAM / Geforce GTX 260 896Mb / LE 2.3

Dell Inspiron 1720 / Vista SP2 / C2D 2.4 / 8600 GM

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...