Search found 3676 matches

by evilC
55 minutes ago
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017
Replies: 767
Views: 121962

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

Once nobody finds any other issues with it, I will push it to the master repository.
by evilC
Yesterday, 16:03
Forum: Gaming
Topic: AHK Multiple Timers, but asynchronous Topic is solved
Replies: 14
Views: 122

Re: AHK Multiple Timers, but asynchronous Topic is solved

Nah I was just asking cos if it was MWO, there are other ready-made macros for that. eg there is my "Fire Control" macro, but that is not really geared towards holding down buttons for prolonged periods, it's more about tapping them at a pre-defined rate. I wrote it for MWO, but it should ...
by evilC
Yesterday, 16:02
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017
Replies: 767
Views: 121962

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

About the only thing that seems wrong is the tab order. If in the "Input" editbox and you hit Tab, it selects the add plugin button or something? I am not sure I know how to make it go to the "Output" editbox
by evilC
Yesterday, 16:00
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017
Replies: 767
Views: 121962

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

OK, how about this? https://i.imgur.com/ygx0GIe.png class AxisToAxisDetent extends _UCR.Classes.Plugin { Type := "Remapper (Axis To Axis with Detent)" Description := "Maps an axis input to a virtual axis output (With Detent)" vAxis := 0 vDevice := 0 ; Set up the GUI to allow the ...
by evilC
Yesterday, 15:58
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017
Replies: 767
Views: 121962

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

Oh tits, it looks like I messed it up. sec.
by evilC
Yesterday, 15:46
Forum: Gaming
Topic: AHK Multiple Timers, but asynchronous Topic is solved
Replies: 14
Views: 122

Re: AHK Multiple Timers, but asynchronous Topic is solved

Out of curiosity, what is this for? Gauss rifles in MWO?
by evilC
Yesterday, 15:43
Forum: Gaming
Topic: AHK Multiple Timers, but asynchronous Topic is solved
Replies: 14
Views: 122

Re: AHK Multiple Timers, but asynchronous Topic is solved

Changed to toggle instead of hold Changed press time to 800ms Changed release time to 400ms Still not 100% sure on what timing you want between firing of Gun1 and Gun2 ie when it starts the Gun1 timer, how long should it wait before kicking off the Gun2 timer? At the moment it is 800ms. I indicated ...
by evilC
Yesterday, 15:17
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017
Replies: 767
Views: 121962

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

Looks like the listview was simply not wide enough to properly accommodate 100.00, so I made it bigger. Barring any other issues, I think this one should be the final version: class AxisToAxisDetent extends _UCR.Classes.Plugin { Type := "Remapper (Axis To Axis with Detent)" Description := ...
by evilC
Yesterday, 07:50
Forum: Gaming
Topic: Help w/ Making a Script
Replies: 3
Views: 34

Re: Help w/ Making a Script

Try searching the forum. It's only the most common question asked
by evilC
Yesterday, 07:49
Forum: Gaming
Topic: How to hold ctrl and press a key
Replies: 1
Views: 8

Re: How to hold ctrl and press a key

The ^ goes outside the { brackets }
by evilC
Yesterday, 07:33
Forum: Gaming
Topic: AHK Multiple Timers, but asynchronous Topic is solved
Replies: 14
Views: 122

Re: AHK Multiple Timers, but asynchronous Topic is solved

It is the sleep commands that are making it not able to properly run asynch AHK is NOT a multi-threaded language, it fakes it. SetTimer, gun1, 1200 sleep 600 SetTimer, gun2, 1200 so @ 1200, it fires Gun1 sendinput {1 down} sleep 1000 sendinput {1 up} Gun1 presses 1, then sleeps for 600ms. Gun2 shoul...
by evilC
Yesterday, 07:15
Forum: Gaming
Topic: Toggle Loop inerception after !toggle and hotkey hey not working after hotkey started
Replies: 1
Views: 12

Re: Toggle Loop inerception after !toggle and hotkey hey not working after hotkey started

No, this code could never have worked with the loops set up like this. You ABSOLUTELY CANNOT have an endless loop in a hotkey. When it is interrupted by another hotkey, it does not resume until the other hotkey ends. See here: https://autohotkey.com/boards/viewtopic.php?t=19745 This code in your scr...
by evilC
Yesterday, 07:09
Forum: Gaming
Topic: Try to put decimal value in XY axis mouseevent
Replies: 3
Views: 22

Re: Try to put decimal value in XY axis mouseevent

No. Mouse movement is in pixels, and you cannot sub-divide a pixel. Sleep is in milliseconds, and cannot be a decimal. Furthermore, any values for sleep below ~10 will not yield a shorter sleep. It *is* possible to send smaller movement than one pixel, but not by moving the cursor. The x / y params ...
by evilC
Yesterday, 05:32
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017
Replies: 767
Views: 121962

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

Hmm yeah, I think I had goofed. Should be good now.
by evilC
Yesterday, 05:25
Forum: Gaming
Topic: Help pressing keys and executing functions with a joystick, please?
Replies: 10
Views: 87

Re: Help pressing keys and executing functions with a joystick, please?

JoyN := 2 does nothing in any of the code you posted because you do not use the variable. You assign it, but you never use it. In all likelihood though, you have no use for a joystick button name in a variable. All of your hotkeys are static and you cannot use variables in static hotkey declaration...
by evilC
Yesterday, 05:23
Forum: Gaming
Topic: Help pressing keys and executing functions with a joystick, please?
Replies: 10
Views: 87

Re: Help pressing keys and executing functions with a joystick, please?

Code: [Select all]GeSHi © Codebox Plus

PowerEng2Wep4()
{
Global BAL, WEP, ENG
Send %BAL%%WEP%%WEP%%ENG%%WEP%
}

Functions have their own scope. BAL, WEP and ENG are in the global scope, so you need to pull all of them in for the function to work.
by evilC
14 Jan 2018, 19:44
Forum: Gaming
Topic: Help pressing keys and executing functions with a joystick, please?
Replies: 10
Views: 87

Re: Help pressing keys and executing functions with a joystick, please?

It's hard to see why Home::PowerEng2Wep4() does not work, when I do not see what is in the function
I guess it is maybe

Code: [Select all]GeSHi © Codebox Plus

PowerEng2Wep4(){
Send %ENG%
}

in which case, your problem is scope. Add global Eng to the start of the function
by evilC
14 Jan 2018, 13:06
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017
Replies: 767
Views: 121962

Re: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017

If invert is selected, clicking "Copy Current" adds inverted value. class AxisToAxisDetent extends _UCR.Classes.Plugin { Type := "Remapper (Axis To Axis with Detent)" Description := "Maps an axis input to a virtual axis output (With Detent)" vAxis := 0 vDevice := 0 ; Se...
by evilC
14 Jan 2018, 12:14
Forum: Gaming
Topic: Help pressing keys and executing functions with a joystick, please?
Replies: 10
Views: 87

Re: Help pressing keys and executing functions with a joystick, please?

Ah, I think I sort of see what you mean by SetKeyDelay now. What you have to understand is that what Joy1::Send {a} is saying is "When I press joystick button 1, press AND RELEASE a". Therefore, with this hotkey, it is impossible to hold the a key by pressing the joystick button - when you...

Go to advanced search