A Mouse “Hack” That All League Of Legends Players Should Know About

Craig Snyder 14-04-2014

Are you a League of Legends Why Is League Of Legends The Most Popular PC Game In The World? [MUO Gaming] Earlier last month, news broke that League of Legends, the addictive rehash of MOBA games like DotA and Heroes of Newerth, has officially earned the right to call itself the most popular game on the... Read More player who feels kind of stuck at your current skill level? Do you find discomfort in constantly having to alternate between modifier keys to do what you want to do in game? I felt this same way, especially as a player who mainly plays ranged Champions (although there are so many others worth playing 3 League Of Legends Champions You Will Want To Be Playing With September and October coming up as the biggest months in competitive League of Legends history, it's time for you to get interested! It's the biggest online game in the world! Read More ). If you’re a Marksman main, the following tip will be especially useful for you.


In this article, I’d like to introduce players to how they can change their mouse settings so that the left-click button performs an “Attack Move” command.

What is Attack Move?

Before we get into the specifics, let’s first understand why you’d want to make this change to your settings.

There are a lot of videos on YouTube that help you to understand the Attack Move command in League of Legends, but I find this one to be most useful. In summary, these three points are most important:

  1. It allows you to kite more effectively.
  2. It guarantees that you will stop to attack the next target in your path (rather than accidentally walking past something if you misclick).
  3. You are able to instantly check brushes and attack visible targets that are revealed.

Get X-Mouse Button Control

X-Mouse Button Control is the third-party application that makes this all possible. X-Mouse Button Control is not a hack, cheat, or application that League of Legends administration views as illegal. It simply allows you to reconfigure your mouse so that it’s able to do things that your default Windows mouse settings won’t allow you to. X-Button Mouse Control is only available for Windows and is a very small and quick download.

Create a Profile for League of Legends

After downloading and installing the application, the next step is for you to create an application profile for League of Legends. This is required so that your mouse settings are only applied when you’re in game. You don’t want to be attack moving in your browser, right? Launch X-Mouse Button Control and click the Add button in the bottom-left corner of the interface.


There are two ways you can do this. The first way is by launching the League of Legends game client (that means actually being in a game) and setting it up at that time through the list of running applications in X-Mouse Button Control.

X-Mouse Button Control

The alternative way doesn’t require that the League of Legends client is already running and involves the same window as the one above. You can simply type in the file path of your League of Legends client executable (or click the button to browse for it in Windows Explorer 3 Advanced Tips & Tricks For Using Windows Explorer Windows Explorer is the default Windows file manager. Last week I introduced you to 3 easy ways to improve Windows 7 Explorer by tweaking features and using it to its full potential. In this article,... Read More ) and point to it that way. The file path should be as follows for most users:
C:\Riot Games\League of Legends\RADS\projects\lol_game_client\releases\\deploy\League of Legends.exe

Rebind “Attack Move” in League of Legends

The following can be done either through a simple text file edit or through launching the client and setting up a bot game. I’d recommend just editing the text file. It’s much easier.


What you’re going to want to do is modify your Attack Move command to a key on your keyboard that you will definitely not be using otherwise while playing League of Legends. I chose the asterisk key (*) on my number pad. Open Notepad and navigate to the following file:
C:\Riot Games\League of Legends\Config\input.ini

This file holds all of your in-game key bindings. Search the document for “evtPlayerAttackMoveClick” (which should be a little further down than halfway down the document).

X-Button Mouse Control

A click glance over the format of this file should make it pretty self-explanatory on how to assign it to a key of your choice.


Edit the Default Layer in X-Button Mouse Control

Back to the X-Button Mouse Control interface, we now want to change what our default layer’s mouse bindings are assigned to.

X-Mouse Button Control

Above is a screenshot of my tweaked settings after I’ve customized my layer. Yours should show all mouse buttons as “Same As Default Profile“. For your left button, use the dropdown menu and change that to “Simulated Keys“.

X-Mouse Button Control


The following window should come up, which X-Mouse Button Control does a great job of providing plenty of information for. Following the guide they lay out for you, you want to assign this button to the key that you assigned as the Attack Move command in your League of Legends client. Here, I’ve assigned it to my asterisk key on the number pad.

It is very important that you send the simulated key as mode #3 (“During“). Any other mode will cause this bind to work incorrectly or not at all. Save it, and you’re done. Your mouse’s left button will now attack move by default.

What problems does this cause?

Though rarely, you need to use the left-click button in your client in its natural state. This would include times like when you’re changing around the order of items in your numerical item bar, when you’re clicking through the shop, etc.

There are two ways you can fix this. The first, and easiest, is to assign one of your mouse’s side buttons (button 5 or 6, for example) as your new default left button. You can see that I did so in the screenshot further up in the article that shows my default layer.

The second way to work around this is by going into the Modifier Keys tab in the Settings window and assigning a key to temporarily switch layers.

X-Mouse Button Control

Here, you can assign a key that will temporarily toggle another layer while it is being held down. Doing so, you can temporarily restore the default functionality of the left button fn your mouse only when a certain key is being held. It took me some getting used to for the first week of rebinding my mouse, but it’s definitely worth it.


There are a lot of alternative methods and YouTube videos that help explain ways that you can rebind your mouse so that the left button will allow you to execute an Attack Move command, but none (that I’ve seen) involve the use of X-Mouse Button Control. It’s one of the easiest and safest ways to get this done, and undoing any changes you make it as simple as deleting your profile and changing a single key within the League of Legends client.

Happy kiting!

Related topics: Mouse Gesture, Strategy Games.

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.

Whatsapp Pinterest

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. AMS
    November 11, 2015 at 7:50 pm

    Does anyone knows if it works now. For me it doesn't work anymore in S6

  2. Carolynne
    March 29, 2015 at 11:01 pm

    My ping doesnt work anymore. How can i fix that?

  3. Silent Hill
    October 11, 2014 at 6:50 am

    I tried this, but it seems like my attack click move only responds sometimes, not every time. do you have an idea what could be wrong?

  4. Drutski
    October 3, 2014 at 7:22 pm

    evtShiftL = [Space]
    evtPlayerMoveClick = [Button 1]
    evtPlayerAttackMoveClick = [Shift] [Button 1]
    evtPlayerSelectClick = [Button 2]
    evtOnUIMouse4Pan = [Button 2]
    evntHudMoveableSelect = [Button 2]

    I use the left mouse button to move and attack. Right button for scrolling on the world and minimap. If I need attack move I hold space with my thumb. Easy, no bullshit 3rd party programs.

  5. Anonymous
    April 24, 2014 at 2:43 pm

    You press A then you left click anyway. It's already a left click function.

  6. Gabor Der
    April 15, 2014 at 8:32 am

    My input.ini file only contains these few lines:

    BTW im using EUNE version

    What could be the problem?

  7. Louis W
    April 15, 2014 at 4:19 am

    There's already a keybinding in settings that's basically smartcasted attack move.

    • Craig S
      April 15, 2014 at 4:25 am

      You cannot bind it to your left mouse button. This article explains how.

  8. tangmeisters
    April 14, 2014 at 11:28 pm

    I fail to see why anybody would make such a big deal out of this "Attack move". From the first match I ever played I thought A + mouse click was a basic mechanic of pretty much any game like LoL or Starcraft. And now we need third party applications, config file changes and entire videos telling exactly what "Attack move" does when encountering an enemy?

  9. Doublelift
    April 14, 2014 at 9:19 pm

    Or shift click by default, right? You can just change the key bindings in-game. Not sure why you'd need other software.

    • Craig S
      April 15, 2014 at 4:24 am

      The article explains how to bind the Attack Move command to the left mouse button, which you cannot do in game.

  10. Tulos
    April 14, 2014 at 8:14 pm

    I feel it's worth mentioning that an attack-move command can also be readily accomplished by pressing the "A" key prior to left clicking.