Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tcg/e7a9f9e9980bba68cda59557fb31d54e to your computer and use it in GitHub Desktop.
Save tcg/e7a9f9e9980bba68cda59557fb31d54e to your computer and use it in GitHub Desktop.
How I configure my Logitech G502 mouse to make me more productive

How I configure my Logitech G502 mouse to make me more productive

I use a "gaming mouse" as my current favorite every-day computer mouse, when I'm not just using the trackpad.

If you're not familiar with it, it's a great computer mouse that has some extra buttons that can be arbitrarily assigned key combos, macros, and various functions.

Recently, I decided to tweak some settings for every day desktop/work use, and I've been quite pleased. Here's a couple things I did:

Middle scroll wheel: left/right tilt

The middle scroll wheel on the G502 has a nice left and right tilt, or click action. It's not loose, and doesn't cause accidental scrolling. So I configured those actions to switch desktops, or active full-screen apps in OSX/macOS. Essentially, "left tilt" issues the CTRL+Left keyboard combo. Right-tilt issues CTRL+Right.

Forward thumb button (G5)

If a quick flick left or right isn't fast enough, this is the next goto. I assigned this button to activate Mission Control, the overview of all open windows. This gets a lot of use. I often have more than one Chrome window open, for example, and ALT+Tab just doesn't get me where I want to go. In this case, I can quickly switch windows without much thought.

Rear thumb button (G4)

I'm still trying this out, and not quite settled. I take screenshots pretty often, so currently this is set to the key combo CTRL+Shift+CMD+4, which is the OSX/macOS "Capture selection to clipboard". When I press this button, my cursor is immediately turned into the selection crosshair, and I can select part of the screen to copy as an image to the clipboard.

@tcg
Copy link
Author

tcg commented Aug 16, 2020

Howdy @mricolcol!

How did you create new shortcuts/commands to assign to the G502's buttons? I can drag "CTRL" but that's it. how do you set an entire key combo?

I may not have the most up-to-date version of the Logitech Gaming Software installed, but it looks something like this for me:

Select a specific button menu and choose "edit"

image

In the "Command Editor" window that comes up, choose "Keystroke" on the left. Click in the grey box, and use the keystroke on your keyboard.

It should now show the key combo you just pressed. You can now save/close, and the button should now fire off that key combo whenever you press it.

image

Hope that helps!

I think they've released some new software for managing Logitech devices, so it may look a lot different for you.

@mricolcol
Copy link

Howdy @mricolcol!

How did you create new shortcuts/commands to assign to the G502's buttons? I can drag "CTRL" but that's it. how do you set an entire key combo?

I may not have the most up-to-date version of the Logitech Gaming Software installed, but it looks something like this for me:

Select a specific button menu and choose "edit"

image

In the "Command Editor" window that comes up, choose "Keystroke" on the left. Click in the grey box, and use the keystroke on your keyboard.

It should now show the key combo you just pressed. You can now save/close, and the button should now fire off that key combo whenever you press it.

image

Hope that helps!

I think they've released some new software for managing Logitech devices, so it may look a lot different for you.

Thanks, @tcg! I'm currently using G HUB, because my mouse wasn't be recognized in Logitech Gaming Software. I have the G502 Lightspeed. I was able to create Macros and assign them to buttons, so I suppose that's the easiest fix right now. Thanks so much for your reply!

@mmborado
Copy link

mmborado commented Sep 7, 2020

@mricolcol I just picked up the mouse and am also trying to figure out mission control mapping. Were you able to map the mouse through G HUB?

@mricolcol
Copy link

@mricolcol I just picked up the mouse and am also trying to figure out mission control mapping. Were you able to map the mouse through G HUB?

Hi @mmborado! Yes, I was!

First, I went to System Preferences>Mission Control and confirmed the keystrokes for Mission Control. Then I made a new Macro under Assignments>Macros>Create New Macro>No Repeat>record the Mission Control shortcut found in System Preferences>Save and assign to mouse button.

Sorry for the late response. I hope this helps!

@mmborado
Copy link

@mricolcol I'm really not sure what changed, but now g hub is recording the keystrokes, was able to get it mapped out. Thanks for the help!

@dw2kim
Copy link

dw2kim commented Sep 22, 2020

@mricolcol Thanks!

@danivijay
Copy link

danivijay commented Oct 26, 2020

My productivity config for mac:

DPI shift button on side: cut
Other 2 side buttons: copy, paste
DPI up, down: undo. redo
Scroll wheel left. right: Desktop switch left, right (ctrl + left, ctrl + right)
Profile switch: Desktop overview (ctrl + up)

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