Lazarus

Programming => General => Topic started by: rodimus111 on October 20, 2019, 02:14:47 am

Title: I need a gamepad component, please!!
Post by: rodimus111 on October 20, 2019, 02:14:47 am
I am comming crazy trying to looking for a gamepad component that can access to all gamepad buttons. For some reason I havent been able to install bare.game. I get errors when I tryed to install baredsgn.lpk
Is ther some other component that works fine?
Title: Re: I need a gamepad component, please!!
Post by: User137 on October 20, 2019, 01:37:58 pm
For every error there is a solution. Have you tried looking for installation guides or anything?

But you might find something usable with SDL or DirectX APIs, though using a whole game engine that does most of the things you need might be best idea (such as the bare.game, or castle engine etc).
Title: Re: I need a gamepad component, please!!
Post by: MarkMLl on October 20, 2019, 06:36:27 pm
What OS? Be warned that HID devices are notoriously fickle since it is very common to find them presenting an HID report descriptor which doesn't cover the entire range of buttons etc., which is why Windows typically needs a custom driver and the appropriate Linux kernel module needs device-specific "quirks".

MarkMLl
Title: Re: I need a gamepad component, please!!
Post by: avra on October 20, 2019, 06:44:50 pm
Is ther some other component that works fine?
You might try out TSdpoJoystick from https://wiki.freepascal.org/5dpo. Works on Windows and Linux. You can find it in OPM as Sdpo.
TinyPortal © 2005-2018