Bindable Logitech X52P MFD Buttons Tip

This forum is the ideal place for all discussion relating to X4. You will also find additional information from developers here.

Moderator: Moderators for English X Forum

Post Reply
Angsaar
Posts: 151
Joined: Thu, 7. Mar 19, 14:03
x4

Bindable Logitech X52P MFD Buttons Tip

Post by Angsaar » Sun, 28. Jun 20, 01:36

Hey all, I thought I'd leave this tip here for any X52P users out there wanting to gain a few extra bindable buttons otherwise dedicated to the LCD panel.

Unfortunately these edits will be wiped if that particular profile is saved with the Logitech editor, so keep a backup in case you need to copy them back! You can restore it in seconds with WinMerge.

Possibly for some driver issue only the Left Wheel Button might be recognised if left unassigned, so adding a keyboard command to those extra buttons can be necessary for them to work in game. For this reason I suggest creating a keyboard input entry in the Logitech software for the game shortcut you want to assign to one of these buttons and leaving it unbound to any buttons. On mine I've set the eight MFD buttons to F1~F8 and then used them to bind F keys to whatever I needed.


Example: Bind F1 to the trigger, name the binding 'F1' and unbind it from the trigger, then repeat with F2~F8. The bindings will be saved with the key press and an ID in your ProfileName.pr0


Open your ProfileName.pr0 with a text editor and add following lines under [controls

[button=0x00090021 name='MFD Start Stop']
[button=0x00090022 name='MFD Reset']
[button=0x00090020 name='L Wheel Button']
[button=0x00090023 name='L Wheel Scroll Up']
[button=0x00090024 name='L Wheel Scroll Down']
[button=0x00090027 name='R Wheel Button']
[button=0x00090025 name='R Wheel Scroll Up']
[button=0x00090026 name='R Wheel Scroll Down']


Next add the following lines under [assignments

[button=0x00090020 name='L Wheel Button' role=bands
[bands
[band]
[band=1 command=insert_actioncommand_value_here]]]
[button=0x00090023 name='L Wheel Scroll Up' role=bands
[bands
[band]
[band=1 command=insert_actioncommand_value_here]]]
[button=0x00090024 name='L Wheel Scroll Down' role=bands
[bands
[band]
[band=1 command=insert_actioncommand_value_here]]]
[button=0x00090027 name='R Wheel Button' role=bands
[bands
[band]
[band=1 command=insert_actioncommand_value_here]]]
[button=0x00090025 name='R Wheel Scroll Up' role=bands
[bands
[band]
[band=1 command=insert_actioncommand_value_here]]]
[button=0x00090026 name='R Wheel Scroll Down' role=bands
[bands
[band]
[band=1 command=insert_actioncommand_value_here]]]
[button=0x00090021 name='MFD Start Stop' role=bands
[bands
[band]
[band=1 command=insert_actioncommand_value_here]]]
[button=0x00090022 name='MFD Reset' role=bands
[bands
[band]
[band=1 command=insert_actioncommand_value_here]]]


Now replace 'insert_actioncommand_value_here' for each button with the 'actioncommand' of any keyboard key commands you have made, they'll be under [commands

Example:

I have a command named 'F1' to have a button spit out the keyboard key 'F1', it's saved as

[actioncommand=72fc7641-7a65-43af-81b7-bbb767af4bba name=F1
[actionblock
[action device=keyboard usage=0x0000003A page=0x00000007 value=0x00000001]]]


Any button with 'command=72fc7641-7a65-43af-81b7-bbb767af4bba' will output 'F1'
Last edited by Angsaar on Sun, 28. Jun 20, 08:15, edited 1 time in total.

Angsaar
Posts: 151
Joined: Thu, 7. Mar 19, 14:03
x4

Re: Bindable Logitech X52P MFD Buttons Tip

Post by Angsaar » Sun, 28. Jun 20, 07:00

Rewritten for clarity and better editing steps.

Final edit with F1 to F8 keys looks like this:


[controls
[button=0x00090021 name='MFD Start Stop']
[button=0x00090022 name='MFD Reset']
[button=0x00090020 name='L Wheel Button']
[button=0x00090023 name='L Wheel Scroll Up']
[button=0x00090024 name='L Wheel Scroll Down']
[button=0x00090027 name='R Wheel Button']
[button=0x00090025 name='R Wheel Scroll Up']
[button=0x00090026 name='R Wheel Scroll Down']


...


[assignments
[button=0x00090021 name='MFD Start Stop' role=bands
[bands
[band]
[band=1 command=72fc7641-7a65-43af-81b7-bbb767af4bba]]]
[button=0x00090022 name='MFD Reset' role=bands
[bands
[band]
[band=1 command=7159ae75-bb5b-4e56-8156-c3aad9553b9d]]]
[button=0x00090020 name='L Wheel Button' role=bands
[bands
[band]
[band=1 command=8759aed2-0461-4b5b-a1b1-0451115123ea]]]
[button=0x00090023 name='L Wheel Scroll Up' role=bands
[bands
[band]
[band=1 command=dc0c6519-d894-4de5-bf72-a9dd85670646]]]
[button=0x00090024 name='L Wheel Scroll Down' role=bands
[bands
[band]
[band=1 command=ce133d8b-1fac-4781-b4d0-146d0a69c369]]]
[button=0x00090027 name='R Wheel Button' role=bands
[bands
[band]
[band=1 command=2f327361-066e-4177-97e8-05acb0853271]]]
[button=0x00090025 name='R Wheel Scroll Up' role=bands
[bands
[band]
[band=1 command=9813d971-89a8-460a-ba4c-f39b7d2661e1]]]
[button=0x00090026 name='R Wheel Scroll Down' role=bands
[bands
[band]
[band=1 command=d717b140-875b-4ad2-992c-18d6df595e6d]]]


...


[commands
[actioncommand=72fc7641-7a65-43af-81b7-bbb767af4bba name=F1
[actionblock
[action device=keyboard usage=0x0000003A page=0x00000007 value=0x00000001]]]
[actioncommand=7159ae75-bb5b-4e56-8156-c3aad9553b9d name=F2
[actionblock
[action device=keyboard usage=0x0000003B page=0x00000007 value=0x00000001]]]
[actioncommand=8759aed2-0461-4b5b-a1b1-0451115123ea name=F3
[actionblock
[action device=keyboard usage=0x0000003C page=0x00000007 value=0x00000001]]]
[actioncommand=dc0c6519-d894-4de5-bf72-a9dd85670646 name=F4
[actionblock
[action device=keyboard usage=0x0000003D page=0x00000007 value=0x00000001]]]
[actioncommand=ce133d8b-1fac-4781-b4d0-146d0a69c369 name=F5
[actionblock
[action device=keyboard usage=0x0000003E page=0x00000007 value=0x00000001]]]
[actioncommand=2f327361-066e-4177-97e8-05acb0853271 name=F6
[actionblock
[action device=keyboard usage=0x0000003F page=0x00000007 value=0x00000001]]]
[actioncommand=9813d971-89a8-460a-ba4c-f39b7d2661e1 name=F7
[actionblock
[action device=keyboard usage=0x00000040 page=0x00000007 value=0x00000001]]]
[actioncommand=d717b140-875b-4ad2-992c-18d6df595e6d name=F8
[actionblock
[action device=keyboard usage=0x00000041 page=0x00000007 value=0x00000001]]]

Post Reply

Return to “X4: Foundations”