Lazarus
Programming => Graphics and Multimedia => Games => Topic started by: vdijken on April 12, 2019, 06:09:43 pm
-
All the libraries is found for using a joystick are 32 bits. I like to use 64-bits Lazarus. Is there any library up-to-date that it can be used a joystick in in 64-bits application?
-
Allegro.pas (http://allegro-pas.sourceforge.net/).
-
His eyes popped out, so he couldn't see this:
https://sourceforge.net/projects/alleg/files/allegro-unstable-bin/5.1.11/
and then pick this one: https://sourceforge.net/projects/alleg/files/allegro-unstable-bin/5.1.11/allegro-msvc2013-x64-5.1.11.zip/download
Maybe I am entiltled a <grumpy >:D > in this case, as are all of the others that tried to help.... O:-)
-
I found some zip files version 8.2.1 with allegro 5.2 versions in it. How nice. And there are also 8.2.0 versions. Static, dynamic, dwarf, posix you name it. Which one is the right 64 bit version? All gave the same error.
-
Well, the OFFICIALsourceforge website doesn't list 5.2 at all in binary format. Try my links. Bit annoying now. You can't even search?
If you do not want the unstable release (not unstable)you are out of luck. Only from 5.1.1 are there complied 64 bit binaries..
-
Try these:
https://www.allegro.cc/files/
https://liballeg.org/download.html#windows
-
I tried nuget from liballeg. The dll in those zip files, V141 and v142 give the same error. Version downloaded file is 5.2.5.2. Seems still 32-bit versions, but nowhere mentioned there.
-
Listen: if you can't compile the sources yourself, plz use the 5.1.1. version I pointed you at. That works.
-
Try these:
https://www.allegro.cc/files/
https://liballeg.org/download.html#windows
The former contains no 64 bit binaries?
The latter have the disadvantage they are compiled with mingw/gnu C, which - on windows - renders significantly slower binaries compared to ms visual studio C compilers.
Anyway. I will respond to you Handoko, but not to OP. He can't read or write nor compile. Glad to help a noob, but not...
-
@Thaddy
Be patient, sir.
@vdijken
Have you tried the links I provided? I saw lots of "w64", they maybe what you're looking for:
-
Take a look to these files (https://sourceforge.net/p/allegro-pas/code/HEAD/tree/TRUNK/docs/build/). They're from TRUNK (yet unreleased) but should be valid for previous versions as well.
Please don't show us RED ANGRY FACE. >:(
No one here is responsible to help you! >:(
That will teach him to type angry faces :D
What the hell happened? :o
-
What the hell happened? :o
Nothing serious. The TS was a bit too impatient when he failed to make thing work. But he later removed the post, so I removed mine too.
-
It's a strange thread anyway, as it is a question about joystick, and then turns into a discussion about allegro. The title should be updated to reflect that.
Afaik jedi used to have a joystick header that interfaced with DirectX/input. That was in 32-bit only times, so might need updates.
-
It's a strange thread anyway, as it is a question about joystick, and then turns into a discussion about allegro. The title should be updated to reflect that.
Afaik jedi used to have a joystick header that interfaced with DirectX/input. That was in 32-bit only times, so might need updates.
The reason it *seems* like a allegro advertisement is that that is actually working and we are in lack of info about other solutions.
E.g. On linux IOCTL options are available, but no serial options, etc, etc.
I tested 64 bit allegro 5.1.1 / joystick parts during the weekend and there are no problems on 64 bit windows at all.
OP is rather inexperienced and can't express at what point his efforts fail. Not enough information...
-
What the hell happened? :o
Nothing serious. The TS was a bit too impatient when he failed to make thing work. But he later removed the post, so I removed mine too.
To keep the thread understandable, I removed mine too.
-
Ok. Now I understand.
It's a strange thread anyway, as it is a question about joystick, and then turns into a discussion about allegro. The title should be updated to reflect that.
Well, Allegro does support joystick and works on 64bit systems, so that's why I recommended. Of course it depends in what vdijken wants to do (Allegro doesn't like to be mixed with some Lazarus libraries :().
Sorry for the SPAM. :-[
-
Or SFML - https://github.com/DJMaster/csfml-fpc
-
Probably a bit late, but it's strange nobody mentioned SDL.
I'm using it almost for a decade.
IMO most consistent APIs available for different platforms (and bitness of course, as it's open source),
it even includes force feedback (where it is supported).
There are multiple Pascal bindings.