• Is there a way to set my mouse scroll "clicks" to act as left/right click?
    19 replies, posted
I was wondering this just now, it would be useful in a game I play. Possible? My mouse is a G9. By scroll clicks I mean the notches that it moves when it is scrolled, not the middle mouse button when you press it down.
No. All you can do is bind the scroll wheel in your game to do the command that your left or right mouse button is performing.
I think the scroll click is Mouse3. If you have drivers you can almost do what you want... but I think changing the default mouse buttons (the ones that area on every generic mouse) cannot be switched. In the game just do /bind mouse3 "cmd"
[QUOTE=Unreliable;20840264]I think the scroll click is Mouse3. If you have drivers you can almost do what you want... but I think changing the default mouse buttons (the ones that area on every generic mouse) cannot be switched. In the game just do /bind mouse3 "cmd"[/QUOTE] Mouse3 is scroll wheel click. It's mwheelup and mwheeldown for Source/GoldSRC games.
[QUOTE=Blackcomb;20840524]Mouse3 is scroll wheel click. It's mwheelup and mwheeldown for Source/GoldSRC games.[/QUOTE] Confirming this.
[QUOTE=Blackcomb;20840524]Mouse3 is scroll wheel click. It's mwheelup and mwheeldown for Source/GoldSRC games.[/QUOTE] Yep, I read it as the mouse scroll clicks to act as a click. I thought he just meant the click of the mouse scroll wheel instead of using the scroll up/down itself for separate clicks. My mistake, yes it's mwheelup and mwheeldown for most games
Thanks for the answers, I guess it's not possible to change it so that scrolling the wheel counts as a mouse click even outside games?
[QUOTE=Orkel;20841252]Thanks for the answers, I guess it's not possible to change it so that scrolling the wheel counts as a mouse click even outside games?[/QUOTE] Only if you have the drivers for it. But that would piss me off to no end, I mean what would you do if you wanted to scroll?
Yes, try [url=http://www.autohotkey.com/]Autohotkey.[/url] Make a script and put this in to make scrolling up make you left click and scrolling down right click. You can change what does what by changing the command after "Click", left and right select which button it presses. This does block normal scroll wheel functions though, if you want I can add a modifier key so it only works when you press control, alt, shift, etc. [code] WheelUp::Click left WheelDown::Click right [/code]
LOL, insane semi auto guns
[QUOTE=4RT1LL3RY;20843685]Yes, try [url=http://www.autohotkey.com/]Autohotkey.[/url] Make a script and put this in to make scrolling up make you left click and scrolling down right click. You can change what does what by changing the command after "Click", left and right select which button it presses. This does block normal scroll wheel functions though, if you want I can add a modifier key so it only works when you press control, alt, shift, etc. [code] WheelUp::Click left WheelDown::Click right [/code][/QUOTE] That works perfectly, thank you so much.
What are you using it for? Shooting? 'Cause shooting with the wheeldown or wheelup would be cool!
I think he might be wanting it for Osu, since as fast as i saw this thread i thought that it would be great for Osu.
Still, shooting with the scroll would be awesome...
[QUOTE=FPChris;20852048]I think he might be wanting it for Osu, since as fast as i saw this thread i thought that it would be great for Osu.[/QUOTE] Bingo. It's only good for short bursts though. Anything longer and it's impossible to keep on-beat. You play the game?
[QUOTE=TippZ;20873068]Still, shooting with the scroll would be awesome...[/QUOTE] you can do this with most games without programs...
Actually I posted an Autoclicker that you can tune values of it for. [IMG]http://i25.photobucket.com/albums/c82/Jjlugnut/clicker.png[/IMG] The downclick time is how long it holds the press, the reclick time is how long in between letting go of the button and clicking again. The lowest values that work are 10 ms and 10 ms though, any lower an it just rounds down to 0 and goes as fast as possible. You can also make profiles as well, just add them to the drop down list and add a case under the "if Game = #" and set your delays. Delay2 is the hold time, Delay is the repeat time. This maps the button to the first button on the thumb with a G5, not sure on a G9. [code] Process, Priority, , H SetBatchLines -1 #NoEnv #SingleInstance Ignore #InstallKeybdHook #InstallMouseHook SetTitleMatchMode 2 ;#IfWinActive, BF2 #Persistent ;#NoTrayIcon DetectHiddenWindows, On ;SendMode, Input CoordMode, Mouse, Screen Set1 = 1 Var = 0 vGame = "" gDelay = 15.00 gDelay2 = 15.00 gCDown = 0 gCRepeat= 0 gActivateScript = 0 Gui, Add, DropDownList, x30 y100 w80 r2 vGame gGame AltSubmit, NONE|L4D|GMOD|COD4|BF2|Unknown ;Gui, Add, Button, x45 y10 w60 h20 vgActivateScript, Enabled Gui, Add, Text, x30 y30 w90 h20 +Center, Fire rate delay (ms) Gui, Add, Text, x30 y50 w70 h20 , down click Gui, Add, Text, x90 y50 w50 h20 , reclick Gui, Add, Edit, x30 y70 w40 h20 vgDelay2 gButtonGo, %gDelay2% Gui, Add, Edit, x90 y70 w40 h20 vgCRepeat vgDelay gButtonGo, %gDelay% ;Gui, Add, Button, x96 y10 w30 h20 , GO ;Gui, Add, Button, x16 y10 w40 h20 , Stop Gui, Add, Checkbox, x30 y10 w120 h20 vgActivateScript gButtonGo, Enable Gui, Add, Checkbox, x30 y130 w120 h20 vVar gButtonGo, Mouse2? ; Generated using SmartGUI Creator 4.0 Gui, Show, x131 y91 h180 w160, Fire Speed B2 Return GuiClose: ExitApp Game: Gui, Submit, NoHide if Game=1 { gDelay2 = %gCDown% gDelay = %gCRepeat% }else{ gCDown = %gDelay2% gCRepeat = %gDelay% } if Game=2 { gDelay = 80 gDelay2 = 20 } if Game=3 { gDelay = 10 gDelay2 = 10 } if Game=4 { gDelay = 35 gDelay2 = 35 } if Game=5 { gDelay = 15 gDelay2 = 15 } if Game = 6 { gDelay = 10 gDelay2 = 10 } GuiControl,, gDelay, %gDelay% GuiControl,, gDelay2, %gDelay2% return ButtonGO: Gui, submit, NoHide gActivateScript:=1 return ButtonStop: Gui, submit, NoHide gActivateScript:=0 return ;==fire== $*XButton1:: Goto, DoFiringLoop Return $*+XButton1:: Goto, DoFiringLoop Return DoFiringLoop: If gActivateScript { { If Var=0 Loop { MouseClick, left, , , 1, 0, D Sleep gDelay2 MouseClick, left, , , 1, 0, U Sleep gDelay If Not GetKeyState("XButton1","P") { Break } } else { Loop { MouseClick, right, , , 1, 0, D Sleep gDelay2 MouseClick, right, , , 1, 0, U Sleep gDelay If Not GetKeyState("XButton1","P") { Break } } } } } MouseXY(x, y) { DllCall("mouse_event", uint, 1, int, x, int, y, uint, 0, int, 0) } Return[/code]
[QUOTE=4RT1LL3RY;20880215]Actually I posted an Autoclicker that you can tune values of it for. [IMG]http://i25.photobucket.com/albums/c82/Jjlugnut/clicker.png[/IMG] The downclick time is how long it holds the press, the reclick time is how long in between letting go of the button and clicking again. The lowest values that work are 10 ms and 10 ms though, any lower an it just rounds down to 0 and goes as fast as possible. You can also make profiles as well, just add them to the drop down list and add a case under the "if Game = #" and set your delays. Delay2 is the hold time, Delay is the repeat time. This maps the button to the first button on the thumb with a G5, not sure on a G9. [code] Process, Priority, , H SetBatchLines -1 #NoEnv #SingleInstance Ignore #InstallKeybdHook #InstallMouseHook SetTitleMatchMode 2 ;#IfWinActive, BF2 #Persistent ;#NoTrayIcon DetectHiddenWindows, On ;SendMode, Input CoordMode, Mouse, Screen Set1 = 1 Var = 0 vGame = "" gDelay = 15.00 gDelay2 = 15.00 gCDown = 0 gCRepeat= 0 gActivateScript = 0 Gui, Add, DropDownList, x30 y100 w80 r2 vGame gGame AltSubmit, NONE|L4D|GMOD|COD4|BF2|Unknown ;Gui, Add, Button, x45 y10 w60 h20 vgActivateScript, Enabled Gui, Add, Text, x30 y30 w90 h20 +Center, Fire rate delay (ms) Gui, Add, Text, x30 y50 w70 h20 , down click Gui, Add, Text, x90 y50 w50 h20 , reclick Gui, Add, Edit, x30 y70 w40 h20 vgDelay2 gButtonGo, %gDelay2% Gui, Add, Edit, x90 y70 w40 h20 vgCRepeat vgDelay gButtonGo, %gDelay% ;Gui, Add, Button, x96 y10 w30 h20 , GO ;Gui, Add, Button, x16 y10 w40 h20 , Stop Gui, Add, Checkbox, x30 y10 w120 h20 vgActivateScript gButtonGo, Enable Gui, Add, Checkbox, x30 y130 w120 h20 vVar gButtonGo, Mouse2? ; Generated using SmartGUI Creator 4.0 Gui, Show, x131 y91 h180 w160, Fire Speed B2 Return GuiClose: ExitApp Game: Gui, Submit, NoHide if Game=1 { gDelay2 = %gCDown% gDelay = %gCRepeat% }else{ gCDown = %gDelay2% gCRepeat = %gDelay% } if Game=2 { gDelay = 80 gDelay2 = 20 } if Game=3 { gDelay = 10 gDelay2 = 10 } if Game=4 { gDelay = 35 gDelay2 = 35 } if Game=5 { gDelay = 15 gDelay2 = 15 } if Game = 6 { gDelay = 10 gDelay2 = 10 } GuiControl,, gDelay, %gDelay% GuiControl,, gDelay2, %gDelay2% return ButtonGO: Gui, submit, NoHide gActivateScript:=1 return ButtonStop: Gui, submit, NoHide gActivateScript:=0 return ;==fire== $*XButton1:: Goto, DoFiringLoop Return $*+XButton1:: Goto, DoFiringLoop Return DoFiringLoop: If gActivateScript { { If Var=0 Loop { MouseClick, left, , , 1, 0, D Sleep gDelay2 MouseClick, left, , , 1, 0, U Sleep gDelay If Not GetKeyState("XButton1","P") { Break } } else { Loop { MouseClick, right, , , 1, 0, D Sleep gDelay2 MouseClick, right, , , 1, 0, U Sleep gDelay If Not GetKeyState("XButton1","P") { Break } } } } } MouseXY(x, y) { DllCall("mouse_event", uint, 1, int, x, int, y, uint, 0, int, 0) } Return[/code][/QUOTE] Thanks, but I think this would be considered cheating in Osu (perfect rhythm in beat-streams) so I can't use it.
I've been doing this in source games for quite a while now. My scroll wheel has 2 settings, normal mode and "frictionless" mode, which means i can spin it at very high speeds and shot the fuck out of everyone on the screen.
He has a g9 so if he want's he can turn the mouse over and turn on the frictionless scrolling. That'd be fun for mowing people down as the heavy in tf2.
Sorry, you need to Log In to post a reply to this thread.