Recent

Author Topic: Request to test joysticks/gamepads database for Castle Game Engine  (Read 3727 times)

Eugene Loza

  • Hero Member
  • *****
  • Posts: 674
    • My games in Pascal
We have a big and important, but simple request. We’ve reworked the handling of the joysticks and gamepads in Castle Game Engine, with a lot of new features that include serious improvement of joysticks API, access to a huge joysticks database by SDL2 with almost 800 of joysticks definitions, autodetection of joysticks, detection of connection/disconnection of joysticks, etc.

However, because we have very limited access to hardware, we are unable to test how well those new features work. And therefore we need your help to test if everything is working as expected on different hardware joysticks/gamepads. Many thanks to the people who already contributed their tests results!

You can download and build “joystick” project from “examples” in this fork: https://github.com/eugeneloza-clean/castle-engine. If it's more convenient for you, there are precompiled binaries for Windows 64 bit and Linux 64 bit here: https://drive.google.com/drive/u/1/folders/1PtBzsrCCE3UsrluY0brmLRSWUWlHZj3v.

If you have access to a hardware joystick or gamepad, please use this tool and tell us (here or in any other convenient way):

*    Your joystick name and operation system (Linux or Windows)
*    Name your joystick was detected in Castle Game Engine
*    If your joystick was correctly autodetected (the joystick name as reported by the OS is shown above, the detected joystick layout is shown below)? If not, can you find your joystick in the list of joysticks and try using it?
*    Did the axes and buttons on your joystick corresponded to the axes and buttons displayed in the tool?

Note, that the joystick image, names of the buttons and exact joystick layout may be different, but right stick must be right and upper button must be the upper one.

Thanks a lot!
My FOSS games in FreePascal&CastleGameEngine: https://decoherence.itch.io/ (Sources: https://gitlab.com/EugeneLoza)

nouzi

  • Sr. Member
  • ****
  • Posts: 298
Re: Request to test joysticks/gamepads database for Castle Game Engine
« Reply #1 on: May 12, 2020, 11:01:38 am »
joystick name : Dunth model : DU-GP182 'made in china  :D'
operation system : windows 7 64bit SP1
sysrem autodetected :  MicroSoft PC-joystick driver - xbox adaptive controlle
Did the axes and buttons on your joystick corresponded ? : no


My English is  bad
Lazarus last version free pascal last version
Lazarus trunk  free pascal trunk 
System : Linux mint  64bit  Windows 7 64bit

af0815

  • Hero Member
  • *****
  • Posts: 1291
Re: Request to test joysticks/gamepads database for Castle Game Engine
« Reply #2 on: May 12, 2020, 01:33:54 pm »
*   Win10 /64 Pro 1909
*   Xbox Adaptive Controller (Windows devicemanager: XBOX 360 Controller for windows USB\VID_045E&PID_028E&REV_0110
)
*   No and Yes -> Real: Echtpower SQ-SWITCHSB-002 for Nintendo switch
*   Partly:
    Left Stick Ok
    Right Stick rotated by 90 deg (Up real is left on screen)
    All Shoulder and Trigger ok
    D-Pad Ok
    XYBA Ok
    Back/Start Ok
    Guide not found
    Home used by Windows X-Box life software
« Last Edit: May 12, 2020, 01:36:49 pm by af0815 »
regards
Andreas

MarkMLl

  • Hero Member
  • *****
  • Posts: 6686
Re: Request to test joysticks/gamepads database for Castle Game Engine
« Reply #3 on: May 12, 2020, 03:57:07 pm »
Razer Nostromo RZ07-0049 running as a general input device on Linux (i.e. no explicit joystick stuff loaded) undetected.

Unbranded (Bus 003 Device 002: ID 0810:e501 Personal Communication Systems, Inc. SNES Gamepad

) Nintendo-style gamepad detected as "Generic X-Box pad". Shoulders OK, left stick OK, righthand buttons jumbled, "Select" detected as "Guide", "Start" detected as stick press.

Selecting as "Nintendo Wii Remote Pro Controller" behaves as labelled except that relative position of Y and A on your graphic is swapped.

Selecting as "PC Game Controller" has all buttun positions correct, however letters of righthand buttons are still wrong. Ditto "USB Gamepad".

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

furious programming

  • Hero Member
  • *****
  • Posts: 858
Re: Request to test joysticks/gamepads database for Castle Game Engine
« Reply #4 on: May 12, 2020, 04:02:24 pm »
I use three different controllers (retro style, all from Data Frog manufacturer) but, I have WinXP 32-bit…

Any plans to develop tool for 32-bit Windows?
« Last Edit: May 12, 2020, 04:05:49 pm by furious programming »
Lazarus 3.2 with FPC 3.2.2, Windows 10 — all 64-bit

Working solo on an acrade, action/adventure game in retro style (pixelart), programming the engine and shell from scratch, using Free Pascal and SDL. Release planned in 2026.

nouzi

  • Sr. Member
  • ****
  • Posts: 298
Re: Request to test joysticks/gamepads database for Castle Game Engine
« Reply #5 on: May 13, 2020, 11:00:54 am »
joystick name : Dunth model : DU-GP182 'made in china  :D'
operation system : Linux Mint 19.3 64bit on oracl VirtualBox
sysrem autodetected :  1 -VirtualBox  mous integration Generic X-Box pad
Did the axes and buttons on your joystick corresponded ? :
controlle[/color]
Did the axes and buttons on your joystick corresponded ? :
left trigger on left shoulder
right trigger on right shoulder
d-pad on left stick

left stick not working 
back working
start working

guide not found replace with analog not working
Y replace with 1 work
B replace with 2 work
A replace with 3 work
X replace with 4 work

right stick not work Responds 1 2 3 4

                            2 -microntek USB joystick  - xbox adaptive controlle
Did the axes and buttons on your joystick corresponded ? :
left trigger on left shoulder
right trigger on right shoulder
d-pad on left stick

left stick working
back working
start working

guide not found replace with analog not working
Y replace with 1 work
B replace with 2 work
A replace with 3 work
X replace with 4 work

right stick not work Responds 1 2 3 4

 
« Last Edit: May 13, 2020, 11:09:23 am by nouzi »
My English is  bad
Lazarus last version free pascal last version
Lazarus trunk  free pascal trunk 
System : Linux mint  64bit  Windows 7 64bit

 

TinyPortal © 2005-2018