Search found 4081 matches

by evilC
17 May 2018, 19:18
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017
Replies: 879
Views: 161605

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

Stick 1 is usually vJoy, it could be another ID, but if you used Bind Mode, then maybe not? Unless some other remapping was active and driving vJoy or something?
Maybe use PJP JoyIDs to check the IDs of your sticks?
by evilC
17 May 2018, 13:26
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017
Replies: 879
Views: 161605

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

Trying to work out what is significant there and what is not.
So in that pic, Stick 1 is the paddles, Stick 5 is the floor shifter?
Is the issue that UCR does not see the input from stick 5, period, or is it that it does not see it while you also have stick 1 configured?
by evilC
14 May 2018, 12:36
Forum: Tips and Tricks
Topic: OOP design patterns in AHK
Replies: 10
Views: 1551

Re: OOP design patterns in AHK

Here is a version that you can derive from to create a singleton. It also stops the user from trying to new one up directly. Uses Runie's "Run multiple __New methods" technique MySingleton.Instance.Test() MySingleton.Instance.Test() a := new MySingleton() class MySingleton extends Singleto...
by evilC
14 May 2018, 12:10
Forum: Tips and Tricks
Topic: OOP design patterns in AHK
Replies: 10
Views: 1551

Re: OOP design patterns in AHK

Not sure I agree with the Singleton implementations in here. For me, a Singleton pattern in AHK would look like this (If you used a property, of course it could be done using a GetInstance() method too): MySingleton.Instance.Test() MySingleton.Instance.Test() class MySingleton { Instance[] { get { i...
by evilC
14 May 2018, 05:53
Forum: Gaming
Topic: Off some keys in LoL
Replies: 11
Views: 219

Re: Off some keys in LoL

u can block alt+Enter, u can block alt+Tab. u cant block ctrl+alt+del with AHK alone. Tell me how please, if u know how to do that. We already did. See my 1st reply. AutoHotInterception will allow you to block CTRL+ALT+DEL, but you will need to write your own code to detect that the 3 keys have bee...
by evilC
11 May 2018, 06:01
Forum: Ask For Help
Topic: Simple script to change mouse sensitivity
Replies: 2
Views: 80

Re: Simple script to change mouse sensitivity

Please clarify what you mean by "Sensitivity" Are you talking about how the pointer reacts to input solely on the desktop, or are you talking about how games react to mouse input? If the latter, they do not use windows sensitivity settings at all, so you will see no difference, as games ar...
by evilC
11 May 2018, 05:49
Forum: Gaming
Topic: The Witcher 3 RMB for 2 actions.
Replies: 1
Views: 49

Re: The Witcher 3 RMB for 2 actions.

See my TapHoldManager library. Using my library, I think this script should do what you want: #include Lib\TapHoldManager.ahk #SingleInstance force thm := new TapHoldManager() thm.Add("RButton", Func("MyFunc")) MyFunc(isHold, taps, state){ str := state ? " down" : "...
by evilC
11 May 2018, 05:30
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.19 26th Dec 2017
Replies: 879
Views: 161605

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

You may want to explain what you are talking about, I have no idea
by evilC
09 May 2018, 05:28
Forum: Ask For Help
Topic: How to control Wacom shortcut key from keyboard.
Replies: 1
Views: 34

Re: How to control Wacom shortcut key from keyboard.

AHK cannot normally do this. The Wacom driver will be listening directly to the tablet - the OS provides no mechanism for faking this input. When AHK Sends input, it does so doing windows APIs - this is at a layer above the tablet -> driver communication. You *might* be able to do this with AutoHotI...
by evilC
08 May 2018, 12:27
Forum: Ask For Help
Topic: WASD key combo to numpad movement? Topic is solved
Replies: 5
Views: 101

Re: WASD key combo to numpad movement? Topic is solved

That is correct. It does not repeat - that is by design. It is not "complex". It's actually quite simple and elegant. Trying to make it work properly (Transitioning from up-left to up performs the correct key sequence) without using a technique like this would probably result in way more c...
by evilC
08 May 2018, 12:15
Forum: Ask For Help
Topic: How to use log4ahk
Replies: 2
Views: 87

Re: How to use log4ahk

Code: [Select all]GeSHi © Codebox Plus

Logger(text){
static filename := RegExReplace(A_ScriptName, ".ahk|.exe", ".log")
FileAppend , % A_Now ": " text, % filename
}
by evilC
08 May 2018, 11:47
Forum: Ask For Help
Topic: WASD key combo to numpad movement? Topic is solved
Replies: 5
Views: 101

Re: WASD key combo to numpad movement? Topic is solved

You are never gonna get an elegant solution by trying to say "This input key maps directly to that output key". What instead you need to do is define a concept of a vector (A value of -1, 0 or 1) for each of the two axes (x and y) and tell the code what effect each input key has on each ve...
by evilC
08 May 2018, 06:16
Forum: Gaming
Topic: Shift key getting blocked somehow
Replies: 2
Views: 79

Re: Shift key getting blocked somehow

Use Blind mode for your sends, eg change Send {NumpadSub} to Send {Blind}{NumpadSub} When you say Send {NumpadSub} , if shift is held, it will release shift, as you told it to send NumpadSub, not shift+NumpadSub. It *should* re-hold shift after sending NumpadSub, but maybe the game does not like tha...
by evilC
08 May 2018, 06:11
Forum: Gaming
Topic: Sprint with Double Tap "W"
Replies: 6
Views: 170

Re: Sprint with Double Tap "W"

FYI, what you want is not very trivial to code, especially if you want to do it for more than one key. I wrote a library that uses robust coding techniques to allow you to determine when multi-tap or press events happen, you can find it here: TapHoldManager . However, it was not really designed for ...
by evilC
08 May 2018, 05:53
Forum: Gaming
Topic: Make lean buttons able to be toggled
Replies: 10
Views: 225

Re: Make lean buttons able to be toggled

Here you go $*q::ProcessLean("q") $*e::ProcessLean("e") $*Shift::ProcessLean() ProcessLean(key := -1){ static lean_state := 0 if (key == -1) key := lean_state if (lean_state != 0){ Send % "{Blind}{" lean_state " up}" ;~ ToolTip % lean_state " up" was...
by evilC
04 May 2018, 11:48
Forum: Ask For Help
Topic: Stop (not pause) the current thread and start a new thread
Replies: 4
Views: 75

Re: Stop (not pause) the current thread and start a new thread

sequences := {c: ["a", "a", "a"], d: ["b", "b", "b"]} currentSeq := 0 currentPos := 0 c:: currentPos := 0 currentSeq := "c" SetTimer, DoSeq, 1000 return d:: currentPos := 0 currentSeq := "d" SetTimer, DoSeq, 1000 return...
by evilC
03 May 2018, 05:18
Forum: Gaming
Topic: Mouseclick remapping not work ingame
Replies: 3
Views: 78

Re: Mouseclick remapping not work ingame

If AHK cannot stop the game from seeing the key pressed, then AutoHotInterception "Subscription Mode" is 100% guaranteed to.
by evilC
02 May 2018, 09:39
Forum: Ask For Help
Topic: Custom command to do many commands Topic is solved
Replies: 2
Views: 37

Re: Custom command to do many commands Topic is solved

See labels and functions in the docs

But without seeing some example code, it is hard to work out exactly what you are talking about
by evilC
02 May 2018, 09:33
Forum: Gaming
Topic: Mouseclick remapping not work ingame
Replies: 3
Views: 78

Re: Mouseclick remapping not work ingame

Try running the script as admin

Go to advanced search