Recent

Author Topic: 64-bits library for using joystick  (Read 664 times)

vdijken

  • New member
  • *
  • Posts: 5
64-bits library for using joystick
« 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?

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 892
    • Burdjia
Re: 64-bits library for using joystick
« Reply #1 on: April 13, 2019, 10:58:11 am »
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

Thaddy

  • Hero Member
  • *****
  • Posts: 7798
Re: 64-bits library for using joystick
« Reply #2 on: April 13, 2019, 09:01:31 pm »
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:-)
« Last Edit: April 13, 2019, 09:03:55 pm by Thaddy »
Ad Brexinitum (can't help it)

vdijken

  • New member
  • *
  • Posts: 5
Re: 64-bits library for using joystick
« Reply #3 on: April 13, 2019, 09:03:06 pm »
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.

Thaddy

  • Hero Member
  • *****
  • Posts: 7798
Re: 64-bits library for using joystick
« Reply #4 on: April 13, 2019, 09:05:41 pm »
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..
« Last Edit: April 13, 2019, 09:10:03 pm by Thaddy »
Ad Brexinitum (can't help it)

Handoko

  • Hero Member
  • *****
  • Posts: 2983
  • My goal: build my own game engine using Lazarus

vdijken

  • New member
  • *
  • Posts: 5
Re: 64-bits library for using joystick
« Reply #6 on: April 14, 2019, 03:59:50 pm »
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.

Thaddy

  • Hero Member
  • *****
  • Posts: 7798
Re: 64-bits library for using joystick
« Reply #7 on: April 14, 2019, 04:02:12 pm »
Listen: if you can't compile the sources yourself, plz use the 5.1.1. version I pointed you at. That works.
Ad Brexinitum (can't help it)

Thaddy

  • Hero Member
  • *****
  • Posts: 7798
Re: 64-bits library for using joystick
« Reply #8 on: April 14, 2019, 04:06:34 pm »
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...
« Last Edit: April 14, 2019, 04:10:51 pm by Thaddy »
Ad Brexinitum (can't help it)

Handoko

  • Hero Member
  • *****
  • Posts: 2983
  • My goal: build my own game engine using Lazarus
Re: 64-bits library for using joystick
« Reply #9 on: April 14, 2019, 05:00:40 pm »
@Thaddy
Be patient, sir.

@vdijken
Have you tried the links I provided? I saw lots of "w64", they maybe what you're looking for:

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 892
    • Burdjia
Re: 64-bits library for using joystick
« Reply #10 on: April 15, 2019, 10:49:03 am »
Take a look to these files.  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
« Last Edit: April 15, 2019, 10:52:44 am by Ñuño_Martínez »
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

Handoko

  • Hero Member
  • *****
  • Posts: 2983
  • My goal: build my own game engine using Lazarus
Re: 64-bits library for using joystick
« Reply #11 on: April 15, 2019, 12:30:33 pm »
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.

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6918
Re: 64-bits library for using joystick
« Reply #12 on: April 15, 2019, 01:21:28 pm »
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.

Thaddy

  • Hero Member
  • *****
  • Posts: 7798
Re: 64-bits library for using joystick
« Reply #13 on: April 15, 2019, 01:53:36 pm »
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...
« Last Edit: April 15, 2019, 01:59:11 pm by Thaddy »
Ad Brexinitum (can't help it)

440bx

  • Hero Member
  • *****
  • Posts: 721
Re: 64-bits library for using joystick
« Reply #14 on: April 15, 2019, 04:29:39 pm »
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.
using FPC v3.0.4 and Lazarus 1.8.2 on Windows 7 64bit.