Is it possible to use the DFGT dial and (+/-) buttons?

Need help? Ask here and someone will help
naldin
Posts: 23
Joined: Sat Oct 14, 2017 2:15 pm
Location: Brazil
Contact:

Is it possible to use the DFGT dial and (+/-) buttons?

Post by naldin »

Hi, I'm using a DFGT/PS4 and try to use Gimx-config for config the "dial/enter" and (+/-) buttons, but I don't have the mapping of G29 buttons. The mapping of DFGT is:
Dial Right (clockwise) => 16
Dial Left (counter-clockwise) => 17
Enter => 14
(+) => 15
(-) => 18
I would like to use this buttons with the same of G29, It is possible or gimx work with controller buttons only?
Last edited by naldin on Mon Oct 23, 2017 2:30 pm, edited 1 time in total.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Is it possible to use the DFGT dial and (+/-) buttons?

Post by Matlo »

This is something I missed when I implemented the G29 emulation.
https://github.com/matlo/GIMX/issues/399
GIMX creator
naldin
Posts: 23
Joined: Sat Oct 14, 2017 2:15 pm
Location: Brazil
Contact:

Re: Is it possible to use the DFGT dial and (+/-) buttons?

Post by naldin »

Ok, thankx. I will wait.
User avatar
RyoAegis
Posts: 3
Joined: Sat Oct 21, 2017 2:20 pm
Location: Germany

Re: Is it possible to use the DFGT dial and (+/-) buttons?

Post by RyoAegis »

Hi, I'm having the same problem using GIMX and my DFGT in Gran Turismo Sport.
Now usage of MFD is even more important than before.
I have found the button numbers for the G29 at the logitech support, this might help us:

http://support.logitech.com/en_us/artic ... 006PmvYAAS

For G29:
+ button = button 20
- button = button 21
Dial clockwise = button 22
Dial counter-clockwise = button 23
Enter button = button 24

I'm trying to create my own updated.xml config file, but I would be gratful for some help.
I'm not really used with this. Naldin are you sure that left and right turns are both button id 16 on the DFGT?
naldin
Posts: 23
Joined: Sat Oct 14, 2017 2:15 pm
Location: Brazil
Contact:

Re: Is it possible to use the DFGT dial and (+/-) buttons?

Post by naldin »

RyoAegis wrote: Sat Oct 21, 2017 2:25 pm Hi, I'm having the same problem using GIMX and my DFGT in Gran Turismo Sport.
Now usage of MFD is even more important than before.
I have found the button numbers for the G29 at the logitech support, this might help us:

http://support.logitech.com/en_us/artic ... 006PmvYAAS

For G29:
+ button = button 20
- button = button 21
Dial clockwise = button 22
Dial counter-clockwise = button 23
Enter button = button 24

I'm trying to create my own updated.xml config file, but I would be gratful for some help.
I'm not really used with this. Naldin are you sure that left and right turns are both button id 16 on the DFGT?
No, I wrote wrong, one number is 17, I'm traveling and when arrived I see the correct number. By the way, this won’t work, I think that must be change this code:
https://github.com/matlo/GIMX/tree/mast ... roller/src
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Is it possible to use the DFGT dial and (+/-) buttons?

Post by Matlo »

Thanks guys, I will try to fix this in GIMX 6.10.
GIMX creator
naldin
Posts: 23
Joined: Sat Oct 14, 2017 2:15 pm
Location: Brazil
Contact:

Re: Is it possible to use the DFGT dial and (+/-) buttons?

Post by naldin »

naldin wrote: Sun Oct 22, 2017 2:01 pm
RyoAegis wrote: Sat Oct 21, 2017 2:25 pm Hi, I'm having the same problem using GIMX and my DFGT in Gran Turismo Sport.
Now usage of MFD is even more important than before.
I have found the button numbers for the G29 at the logitech support, this might help us:

http://support.logitech.com/en_us/artic ... 006PmvYAAS

For G29:
+ button = button 20
- button = button 21
Dial clockwise = button 22
Dial counter-clockwise = button 23
Enter button = button 24

I'm trying to create my own updated.xml config file, but I would be gratful for some help.
I'm not really used with this. Naldin are you sure that left and right turns are both button id 16 on the DFGT?
No, I wrote wrong, one number is 17, I'm traveling and when arrived I see the correct number. By the way, this won’t work, I think that must be change this code:
https://github.com/matlo/GIMX/tree/mast ... roller/src
I updated the first post with the correct information.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Is it possible to use the DFGT dial and (+/-) buttons?

Post by Matlo »

Please try this test version:
https://gimx.fr/download/fcff054d7e1a7f ... x86_64.exe

Please let me know if the buttons are not in the correct order.
GIMX creator
naldin
Posts: 23
Joined: Sat Oct 14, 2017 2:15 pm
Location: Brazil
Contact:

Re: Is it possible to use the DFGT dial and (+/-) buttons?

Post by naldin »

Matlo wrote: Mon Oct 23, 2017 8:51 pm Please try this test version:
https://gimx.fr/download/fcff054d7e1a7f ... x86_64.exe

Please let me know if the buttons are not in the correct order.
Hi Matlo! Now I can config the xml file, but nothing happening with this buttons in game, I tried with pCars 1, Assetto Corsa and GT Sport. I just got a little confused with id 15, because this is plus in DFGT but already have configured as gas.
Follow my xml and log.
xml => https://www.dropbox.com/s/tidq7p1voe0r8 ... 9.xml?dl=0

Code: Select all

global option -l with value `log.txt'
global option -c with value `LogitechDrivingForceGT_new_G29.xml'
controller #1: option -p with value `COM9'
now reading arguments for controller #2
status flag is set
subpos flag is set
force_updates flag is set
GIMX 6.9 x86_64
Windows 10 (or later) x64
Kernel version: 10.0 (15063)
USB adapter detected, controller type is: G29 PS4.
found pass-through device 0x054c:0x09cc
Timer resolution: min=156250 max=5000 current=5003
using default refresh period: 5.00ms
mouse 0 has name 'Mouse compatível com HID' and virtual id 0
mouse 1 has name 'Mouse compatível com HID' and virtual id 1
mouse 2 has name 'Dell Touchpad' and virtual id 0
keyboard 0 has name 'Wireless Keyboard Filter Device' and virtual id 0
keyboard 1 has name 'Dispositivo de teclado HID' and virtual id 0
keyboard 2 has name 'Teclado Padrão PS/2' and virtual id 0
joystick 0 has name 'PS4 Controller' and virtual id 0
joystick 1 has name 'Logitech Driving Force GT USB' and virtual id 0
macros are not available for: joystick PS4 Controller (0)
Warning: can't open macro directory C:\Users\ronal\AppData\Roaming//gimx//macros/
FFB device: Logitech Driving Force GT USB 0 (direct translation).
Press the PS button to activate the controller.
0 1508822395.135451, wheel (1)
0 1508822397.801590, wheel (1), PS (255)
wheel range adjusted to 900 degrees
0 1508822398.996745, wheel (1)
0 1508822401.880919, wheel (1), cross (255)
0 1508822401.948218, wheel (1)
0 1508822403.784731, wheel (1), cross (255)
0 1508822403.897769, wheel (1)
0 1508822407.172181, wheel (1), minus (255)
0 1508822407.393397, wheel (1)
0 1508822408.700955, wheel (1), enter (255)
0 1508822408.914201, wheel (1)
0 1508822409.696728, wheel (1), dial up (255)
0 1508822409.793012, wheel (1)
0 1508822409.894783, wheel (1), dial up (255)
0 1508822409.998232, wheel (1)
0 1508822410.098610, wheel (1), dial up (255)
0 1508822410.199026, wheel (1)
0 1508822410.295585, wheel (1), dial down (255)
0 1508822410.397408, wheel (1)
0 1508822410.470902, wheel (1), dial down (255)
0 1508822410.549764, wheel (1)
0 1508822410.631679, wheel (1), dial down (255)
0 1508822410.728685, wheel (1)
0 1508822410.832077, wheel (1), dial down (255)
0 1508822410.933043, wheel (1)
Exiting
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x25
unhandled descriptor type: 0x24
unhandled descriptor type: 0x24
unhandled descriptor type: 0x25
rounding timer period to 500
rounding timer period to 4502
User avatar
RyoAegis
Posts: 3
Joined: Sat Oct 21, 2017 2:20 pm
Location: Germany

Re: Is it possible to use the DFGT dial and (+/-) buttons?

Post by RyoAegis »

Matlo wrote: Mon Oct 23, 2017 8:51 pm Please try this test version:
https://gimx.fr/download/fcff054d7e1a7f ... x86_64.exe

Please let me know if the buttons are not in the correct order.
Hi Matlo,
thank you very much for putting us on your priority list.
I'm using your dietpi gimx image, do you have implemented the update in a Unix version of GIMX, too?
As soon as work is over, I will install your .exe on my Windows machine and give it a try.
Post Reply