Skip to content

Instantly share code, notes, and snippets.

@jackblk
Created April 13, 2021 16:07
Show Gist options
  • Save jackblk/8138827afd986f30cf9d26647e8448e1 to your computer and use it in GitHub Desktop.
Save jackblk/8138827afd986f30cf9d26647e8448e1 to your computer and use it in GitHub Desktop.
Getting Logitech F310 to work with Macbook USB-C port

Connect & use Logitech F310 with Macbook

Since my Macbook Pro only has USB-C port, I used an USB-A to USB-C adapter to connect my F310 to it, but it does not work (pressing MODE button does not turn on the LED).

How to

To make it work:

  • Disconnect F310 from Mac
  • On F310: switch X-input to D-input
  • Hold Logitech button (in the middle)
  • Connect F310 to Mac via adapter, now you can release the Logitech button.

Now you should be able to use your gamepad.

Test:

  1. Try pressing MODE button, the LED should turn on/off.
  2. Use Gamepad Tester

Notes:

  • Changing it back to X-input will not work

Credits

@agileadam
Copy link

agileadam commented Jun 15, 2022

Thank you!

I use this controller with Keyboard Maestro. After doing the above I was able to get the controller to light up, but none of my macros were trigger. I then tried holding MODE and the middle Logitech button at the same time while plugging in (in "D" mode). To my surprise it worked! So, I recommend trying this if the controller doesn't seem to be working right.

Also, strangely enough, after doing this I can plug and unplug without holding any buttons... I just have to hit MODE to turn the controller on.

@apischiang
Copy link

Thank you!

@Xoloth
Copy link

Xoloth commented Aug 14, 2022

This also works with F710! Instead of plugging USB cable I just plugged USB reciever and it worked perfectly. Thanks!

@tourdefran
Copy link

hey, thanks!
(≧∇≦)/

@sydneyfunnelAIO
Copy link

hey I have a problem with RT and LT. they are working as a normal button. Its not sensitive.

@sxzzz
Copy link

sxzzz commented Dec 29, 2022

Thank you very much!!!!!

@Hrithik-Jayanth
Copy link

Thanks!

@estefan3112
Copy link

Great, many thanks!

@raiots
Copy link

raiots commented Jun 25, 2023

Really useful, thanks a lot

@anandakelvin
Copy link

anandakelvin commented Jul 8, 2023

hey I have a problem with RT and LT. they are working as a normal button. Its not sensitive.

@sydneyfunnelAIO Hey have you found a solution to this and could you share?

@vulpes-vulpeos
Copy link

Had same problem but with F510 model.
Connection problem was solved with cable with external power supply (I made it for external cd/dvd drive).
IMG_4555
With this cable gamepad connects without any manipulations every time.

But now I run into software problems:

  1. Gamepad disconnects when Steam app is launched.
  2. Back button acts as home button and launches Launchpad with games folder in any app. Logitech button does nothing.
    Has anyone solved this issues?

Hardware: Macbook Air m1, macOS Ventura 13.4.1, Steam version 1687386907.

@Vladimir7i
Copy link

  1. Gamepad disconnects when Steam app is launched.
  2. Back button acts as home button and launches Launchpad with games folder in any app. Logitech button does nothing.

the same, macos (ventura) is so lame - it does not support x-input, and xbox one gamepads via wired connection=(

@ShrinivasKattimani
Copy link

tysm

@carlospliego
Copy link

Thank you, I got one controller working. Does anyone know how to get 2+ controllers connected?

@afuckingdumptruck
Copy link

hello this is amazingly helpful, im stunned, tysm

@chrisbroome
Copy link

chrisbroome commented Dec 30, 2023

  1. Gamepad disconnects when Steam app is launched.
  2. Back button acts as home button and launches Launchpad with games folder in any app. Logitech button does nothing.

the same, macos (ventura) is so lame - it does not support x-input, and xbox one gamepads via wired connection=(

The solution for #2 is to open a terminal and type these commands. Log out and back in for the settings to take effect.

defaults write com.apple.GameController bluetoothPrefsMenuLongPressAction -integer 0
defaults write com.apple.GameController bluetoothPrefsShareLongPressSystemGestureMode -integer -1

See gamepad controller mapped to Launchpad for details

@aragard
Copy link

aragard commented Jan 10, 2024

TYSM

@PhillipBuys
Copy link

Amazing! Thank you!!

@kennycason
Copy link

Worked for me as well. Thanks 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment