How to bind mouse buttons in CS GO console?

How to bind mouse buttons in CS GO console? - Gray and Black Dress Pins

Basically I want to bind my Mouse 4 button to TOGGLE on and off the voice chat in game. I know how to start it (Bindtoggle) but I don't know the correct name for mouse 5 in console as well as how to get it to change voice chat. Silly question but should be easy to answer I guess.



Best Answer

Adding onto what Codingale said, your mouse doesn't have any special name. There is mouse1-3 if you have a scroll wheel, and I have seen some that go all the way to 7.

You also stated that you would like it to where you can disable voice chat and reenable it with your mouse. Are you talking about, pressing the binded button and being able to talk, or turning off voice chat completely.

If the first option, Codingale was correct. It is +voicerecord.

If the second option, look at this:

voice_enable 0 - Voices off
voice_enable 1 - Voices on

So, say you had a mouse that had 5 buttons. You could run something like this in console, or make an autoexec to run it as soon as the game starts.

bind "mouse4" "voice_enable 0"
bind "mouse5" "voice_enable 1"

And then you can alternate between pressing those as you see fit :D

Or combine the two into one and use;

    bind "del" "toggle voice_enable 0 1" 

Pressing delete will turn voices off, press it again and it will turn them on again.

And you can also turn voices up and down by using this command:

voice_scale 1 - Default
voice_scale .5 - More Tolerable
voice_scale 0 - Voice volume muted

Source




Pictures about "How to bind mouse buttons in CS GO console?"

How to bind mouse buttons in CS GO console? - Brown and White Land Animal
How to bind mouse buttons in CS GO console? - Nintendo Nes Game Console Set
How to bind mouse buttons in CS GO console? - Black Microsoft Xbox Game Controller



Quick Answer about "How to bind mouse buttons in CS GO console?"

  • Left mouse button: mouse1.
  • Right mouse button: mouse2.
  • Middle mouse button (scroll wheel click): mouse3.
  • Bottom side button: mouse4.
  • Top side button: mouse5.
  • Mouse wheel scroll up: mwheelup.
  • Mouse wheel scroll down: mwheeldown.


  • How do I bind mouse buttons in CS GO?

    Under Help & Options > Keyboard/Mouse, the in-game actions commands can be bound to the keyboard and mouse simply by scrolling to an action, clicking on it or pressing Enter, and pressing a key or mouse button to assign it to the selected action.

    How do I change the Keybinds in CS GO console?

    In order to start changing up your keybinds, you'll need to have access to the game's Developer Console....How to add CSGO keybinds & open Developer Console
  • Go to 'Settings'
  • Select 'Game Settings'
  • Go to 'Enable Developer Console' and choose 'Yes. ' (see image below)
  • You will now be able to open the console using ~




  • CS:GO Custom Key Binds




    More answers regarding how to bind mouse buttons in CS GO console?

    Answer 2

    You can use Mouse4 (or Mouse5) as the button. Mouse1 is left button, Mouse2 is right and Mouse3 is the middle mouse button.

    See this post where someone asked a similar question.

    bind "Mouse4" <command> works, and the voice chat is +voicerecord

    If this doesn't work try editing a bind and the pressing the button it asks and type in host_writeconfig and you should be able to view the config.cfg and find it.

    Answer 3

    Really it depends on your mouse, I have a Razer Naga mouse that has mouse1-5, then had 12 more buttons that act as either the keypad buttons or the 1-0,_,= at the top of my keyboard.

    My thought would be to figure out how your buttons work, if they are mouse4, mouse5, etc. or kp_end, or other keypad functions, then bind out with the commands listed by the other answers.

    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Nikita Khandelwal, Pixabay, Tomasz Filipek, Stas Knop