Page 1 of 1

HELP: Making Button4 a left-click autoclicker

Posted: Fri Mar 10, 2017 5:24 pm
by UnknownMelody
Hey,
I recently bought my first gaming mouse. It didn't come with it's own programming software (to my knowledge) so I downloaded x-mouse. I'm trying to making mouse button 4 toggle a left-click auto-click but I'm doing something wrong. I have it set as a simulated key: (sticky repeat). I'm not sure what to put into the 'Enter the custom key" section. I currently have {LMB} but like I said, it isn't making mouse button 4 an auto-click. Any help is much appreciated. Thank you!

Re: HELP: Making Button4 a left-click autoclicker

Posted: Fri Mar 10, 2017 6:10 pm
by phil
Hi, this should work...
stickkyrepeat.png
NOTE: If you ware trying to do this in game, bear in mind that the game may be blocking/igoring injected input (many do to prevent cheating etc.) or it may be that it is sending too quickly, in that case turn up the delay and perhaps tick the "randomize" delay.

Thanks,
Phil

Re: HELP: Making Button4 a left-click autoclicker

Posted: Sat Mar 11, 2017 12:38 pm
by UnknownMelody
Thank you very much for the reply. Unfotunately, I tried this and it didn't work as expected. When I press Button 4 it simply spams "Left ButtonLeft ButtonLeft Button..." and so on. Any suggestions?

Re: HELP: Making Button4 a left-click autoclicker

Posted: Sat Mar 11, 2017 2:47 pm
by phil
Urm, isnt that what you have asked it to do?
A repeat of 0ms is supposed to do, send it very very quickly with very little wait in between!

If you want to slow it down, increase the repeat delay to, for example 500ms
AND/OR add {WAITMS:50} after the {LMB}

Re: HELP: Making Button4 a left-click autoclicker

Posted: Sun Mar 12, 2017 4:40 pm
by UnknownMelody
It spams the words "Left Button" when I want it to work as an auto-click and click the left button repeatedly.

Re: HELP: Making Button4 a left-click autoclicker

Posted: Sun Mar 12, 2017 5:18 pm
by phil
What? I dont understand how it can send the word "Left button" unless you actually typed in the simulated keystroke window instead of {LMB}

If you send me your settings file (XMBCSettings.xml) then I will have a look and see whats wrong with it.A quick way to find the settings file, hold the control key down and left click the XMBC icon in the system tray - it should open the folder containing XMBCSettings.xml in Windows Explorer.

Thanks,
Phil

Re: HELP: Making Button4 a left-click autoclicker

Posted: Mon Mar 13, 2017 2:17 pm
by UnknownMelody
I can't find an "attach file" option on here so I'll just post everything in the file below. Thanks for your help.

Code: Select all

<?xml version="1.0"?>
<root>
	<version build="0" revision="0" minor="15" major="2" />
	<OfficeMouse Enable="false" />
	<Layers Number="2" />
	<Cursor Speed="6" />
	<Logging Disable="false" />
	<RazorMouse DoubleClickFix="false" />
	<ScrollWheel ScrollWindowUnderCursor="true" />
	<ScrollLock BypassAll="true" BypassDisabled="false" />
	<Swap4and5 Always="true" />
	<RemoteDesktop SwapButtons4and5="false" Disable="false" />
	<TrayIcon Show="true" />
	<ReinstallHook Disable="false" />
	<BalloonNotification Enable="true" Layer="true" />
	<MovementToScroll ChangeCursor="true" />
	<ResetSticky Enabled="false" Key="false" Layer="true" />
	<GlobalHotkeys Enable="false">
		<Hotkey0 Key="0" Modifier="0" />
		<Hotkey1 Key="0" Modifier="0" />
		<Hotkey2 Key="0" Modifier="0" />
		<Hotkey3 Key="0" Modifier="0" />
		<Hotkey4 Key="0" Modifier="0" />
		<Hotkey5 Key="0" Modifier="0" />
		<Hotkey6 Key="0" Modifier="0" />
		<Hotkey7 Key="0" Modifier="0" />
		<Hotkey8 Key="0" Modifier="0" />
		<Hotkey9 Key="0" Modifier="0" />
		<Hotkey10 Key="0" Modifier="0" />
		<Hotkey11 Key="0" Modifier="0" />
		<Hotkey12 Key="0" Modifier="0" />
		<Hotkey13 Key="0" Modifier="0" />
		<Hotkey14 Key="0" Modifier="0" />
		<Hotkey15 Key="0" Modifier="0" />
		<Hotkey16 Key="0" Modifier="0" />
		<Hotkey17 Key="0" Modifier="0" />
		<Hotkey18 Key="0" Modifier="0" />
		<Hotkey19 Key="0" Modifier="0" />
		<Hotkey20 Key="0" Modifier="0" />
		<Hotkey21 Key="0" Modifier="0" />
	</GlobalHotkeys>
	<LayerModifierKeys Enable="false">
		<LayerKey0 Key="0" Modifier="0" />
		<LayerKey1 Key="0" Modifier="0" />
		<LayerKey2 Key="0" Modifier="0" />
		<LayerKey3 Key="0" Modifier="0" />
		<LayerKey4 Key="0" Modifier="0" />
		<LayerKey5 Key="0" Modifier="0" />
		<LayerKey6 Key="0" Modifier="0" />
		<LayerKey7 Key="0" Modifier="0" />
		<LayerKey8 Key="0" Modifier="0" />
		<LayerKey9 Key="0" Modifier="0" />
		<LayerKey10 Key="0" Modifier="0" />
		<LayerKey11 Key="0" Modifier="0" />
		<LayerKey12 Key="0" Modifier="0" />
	</LayerModifierKeys>
	<NonClientMsgs Process="true" />
	<SimulatedKeystrokes IgnoreNumlock="true" />
	<LeftClickTrayIcon Cycle="false" />
	<FixTiltRepeat Enable="false" InitialDelay="200" RepeatDelay="100" />
	<CheckVersion Days="5" Enable="true" Beta="false" />
	<SwitchOnMouseOver Enable="true" />
	<ActivateOnScroll Enable="false" />
	<ActivateOnMouseOver Enable="false" />
	<VisualStudio2010 FixScroll="false" />
	<OnScreenDisplay Enabled="true" AlwaysShow="false" />
	<SortActions Alphabetically="false" />
	<ButtonDebounce Enable="false" FromUp="false" Time="50" />
	<InactivityTimer Disable="false" Timeout="30" />
	<KeyboardLayout LoadUSEnglish="false" />
	<Priority Process="128" />
	<SimulatedKeys Delay="1" />
	<Search url="https://www.google.com/search?q=" />
	<Language filename="" />
	<Default OverrideSpeed="false" Speed="1" InvertScrolling="false" InvertHorizontalScrolling="false" ScrollPages="false" ScrollLines="3" ForceSPI="false" AxisLocking="false" SwapButtons="0" IgnoreVScroll="false" IgnoreVScrollTime="200" IgnoreHScroll="false" IgnoreHScrollTime="400">
		<Layer name="Generic" autoswitchlayer="0" autoswitchtime="1" revertlayer1="false" disabled="false" />
		<Left action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
		<Right action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
		<Middle action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
		<XLeft action="28" keys="Left Button" keyaction="6" keyrepeat="100" active="false" blockmouse="true" randomisedelay="true" app="" />
		<XRight action="28" keys="Right Button" keyaction="6" keyrepeat="100" active="false" blockmouse="true" randomisedelay="true" app="" />
		<TiltLeft action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
		<TiltRight action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
		<WheelUp action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
		<WheelDown action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
		<Layer1>
			<Layer name="" autoswitchlayer="0" autoswitchtime="1" revertlayer1="false" disabled="false" />
			<Left action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<Right action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<Middle action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<XLeft action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<XRight action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<TiltLeft action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<TiltRight action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<WheelUp action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<WheelDown action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
		</Layer1>
		<Layer2>
			<Layer name="" autoswitchlayer="0" autoswitchtime="1" revertlayer1="false" disabled="false" />
			<Left action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<Right action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<Middle action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<XLeft action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<XRight action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<TiltLeft action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<TiltRight action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<WheelUp action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<WheelDown action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
		</Layer2>
		<Layer3>
			<Layer name="" autoswitchlayer="0" autoswitchtime="1" revertlayer1="false" disabled="false" />
			<Left action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<Right action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<Middle action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<XLeft action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<XRight action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<TiltLeft action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<TiltRight action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<WheelUp action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<WheelDown action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
		</Layer3>
		<Layer4>
			<Layer name="" autoswitchlayer="0" autoswitchtime="1" revertlayer1="false" disabled="false" />
			<Left action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<Right action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<Middle action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<XLeft action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<XRight action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<TiltLeft action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<TiltRight action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<WheelUp action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<WheelDown action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
		</Layer4>
		<Layer5>
			<Layer name="" autoswitchlayer="0" autoswitchtime="1" revertlayer1="false" disabled="false" />
			<Left action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<Right action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<Middle action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<XLeft action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<XRight action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<TiltLeft action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<TiltRight action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<WheelUp action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<WheelDown action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
		</Layer5>
		<Layer6>
			<Layer name="" autoswitchlayer="0" autoswitchtime="1" revertlayer1="false" disabled="false" />
			<Left action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<Right action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<Middle action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<XLeft action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<XRight action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<TiltLeft action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<TiltRight action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<WheelUp action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<WheelDown action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
		</Layer6>
		<Layer7>
			<Layer name="" autoswitchlayer="0" autoswitchtime="1" revertlayer1="false" disabled="false" />
			<Left action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<Right action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<Middle action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<XLeft action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<XRight action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<TiltLeft action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<TiltRight action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<WheelUp action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<WheelDown action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
		</Layer7>
		<Layer8>
			<Layer name="" autoswitchlayer="0" autoswitchtime="1" revertlayer1="false" disabled="false" />
			<Left action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<Right action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<Middle action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<XLeft action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<XRight action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<TiltLeft action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<TiltRight action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<WheelUp action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<WheelDown action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
		</Layer8>
		<Layer9>
			<Layer name="" autoswitchlayer="0" autoswitchtime="1" revertlayer1="false" disabled="false" />
			<Left action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<Right action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<Middle action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<XLeft action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<XRight action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<TiltLeft action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<TiltRight action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<WheelUp action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
			<WheelDown action="40" keys="" keyaction="2" keyrepeat="34" active="true" blockmouse="true" randomisedelay="false" app="" />
		</Layer9>
	</Default>
</root>

Re: HELP: Making Button4 a left-click autoclicker

Posted: Mon Mar 13, 2017 8:22 pm
by phil
You have typed 'Left Button' into the input field, not {LMB}.
So it will be simulating the keys l, e, f, t, <space>, B, u, t, t, o, n
!!!!

You need to use the TAG {LMB} with the curly braces, exactly as I just typed it!
SimKeys.png
And for the right button, use the tag {RMB}

Thanks,
Phil

Re: HELP: Making Button4 a left-click autoclicker

Posted: Thu Mar 16, 2017 3:11 pm
by BriHecato
For autoclickers i used multiple tag {LMB} in one simulated keystroke (4, 5 or 6).
BUT
Increase the delay between them (Settings > advanced) to 10ms or little more,
AND
in simkeys window of course check the field "randomize autorepeat rate by 10%".

And better is to use mode 6: repeatedly until button is down. so you have more control over autoclicking.

I tried this in browser clicker games :) and too many too fast clicks can destroy your browser :P (input lags when game or browser is waiting until all sended click are executed, whole browser hangs up, then whole windows ... ctrl+alt+del stops working ...)