Search found 4785 matches

by evilC
30 May 2019, 10:28
Forum: Gaming
Topic: Re-input clicks from a Wacom tablet as having come from a mouse.
Replies: 1
Views: 665

Re: Re-input clicks from a Wacom tablet as having come from a mouse.

A wacom tablet is an absolute input device and is fundamentally different to a mouse. See my autohotinterception library (link in sig) - this will allow you to read the absolute data coming from the wacom, then you could send mouse relative data You would need the "Subscription Mode" commands You al...
by evilC
30 May 2019, 05:13
Forum: Ask For Help
Topic: Remap joystick (axis) to turn around how to use
Replies: 20
Views: 3093

Re: Remap joystick (axis) to turn around how to use

Test mode ?!?! VJoy should be a signed driver, you should not need test mode. Where did you get it from? Be wary, it could be malicious
by evilC
29 May 2019, 05:58
Forum: Ask For Help
Topic: Remap joystick (axis) to turn around how to use
Replies: 20
Views: 3093

Re: Remap joystick (axis) to turn around how to use

Oh sorry, yeah I think it is 1903 - the one that just came out
by evilC
29 May 2019, 05:06
Forum: Gaming
Topic: Axis Pushes Keyboard Keys When Axis Is Moved
Replies: 15
Views: 1848

Re: Axis Pushes Keyboard Keys When Axis Is Moved

Use a proper IDE such as scite4ahk or akstudio and use the debugger
Or use outputdebug command plus ms debugview
Or use the tooltip or msgbox commands
by evilC
29 May 2019, 04:35
Forum: Gaming
Topic: Axis Pushes Keyboard Keys When Axis Is Moved
Replies: 15
Views: 1848

Re: Axis Pushes Keyboard Keys When Axis Is Moved

No, 1JoyY is 1st stick
Use PJP Joyids app (Google it) to see joy ids
by evilC
29 May 2019, 04:05
Forum: Ask For Help
Topic: Remap joystick (axis) to turn around how to use
Replies: 20
Views: 3093

Re: Remap joystick (axis) to turn around how to use

Are you on win 1809? There is an open issue for vJoy reporting install issues
by evilC
29 May 2019, 03:47
Forum: Gaming
Topic: Axis Pushes Keyboard Keys When Axis Is Moved
Replies: 15
Views: 1848

Re: Axis Pushes Keyboard Keys When Axis Is Moved

Joy2X is invalid syntax
Joystick 2, axis x is 2JoyX
What I was looking forwas something like "the variable Joy2X is always empty"
Just saying "it doesn't work" gave me zero useful info - as a career coder you should really know that
by evilC
29 May 2019, 03:26
Forum: Gaming
Topic: Axis Pushes Keyboard Keys When Axis Is Moved
Replies: 15
Views: 1848

Re: Axis Pushes Keyboard Keys When Axis Is Moved

What, exactly does not work?
by evilC
28 May 2019, 13:55
Forum: Ask For Help
Topic: Remap joystick (axis) to turn around how to use
Replies: 20
Views: 3093

Re: Remap joystick (axis) to turn around how to use

Hmm, you appear to be right, it doesn't work, I swear I did it in the past...
Your only option then is to use vJoy and feed the vJoy stick with the inverse of the axes
by evilC
28 May 2019, 13:00
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 622
Views: 227905

Re: FindText - Capture screen image into text and then find it Topic is solved

if (ok:=FindText(0, 0, A_ScreenWidth, A_ScreenHeight, 0, 0, PicN(FindName), 1, 1, JoinText:=1)) This function is clearly returning false when you expect it to return true, as that is the only way that you could get the "Not Found" msgbox PicN(FindName) refers to an image. What is in the image when ...
by evilC
28 May 2019, 12:43
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 622
Views: 227905

Re: FindText - Capture screen image into text and then find it Topic is solved

So in your code, I am assuming that ok := FindText(...) is returning false, when you expect it to return true?
by evilC
28 May 2019, 12:21
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 622
Views: 227905

Re: FindText - Capture screen image into text and then find it Topic is solved

Dude... it's 2000 lines of code! If you cannot boil your problem down to less code, or at the very least say "when line X executes, I am expecting Y to happen but Z happens", I simply cannot be bothered...
by evilC
28 May 2019, 12:06
Forum: General Discussion
Topic: Down at the AHK gun store...
Replies: 2
Views: 1118

Down at the AHK gun store...

A little doodle I did today...
Image
by evilC
28 May 2019, 11:41
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 622
Views: 227905

Re: FindText - Capture screen image into text and then find it Topic is solved

I don't really have the time to analyse what all the code is doing
https://autohotkey.com/docs/commands/RegExMatch.htm#Examples
3rd example shows how to use case-insensitive matching
by evilC
28 May 2019, 11:34
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 622
Views: 227905

Re: FindText - Capture screen image into text and then find it Topic is solved

WRT FindText not being case-insensitive, at a glance it looks like the RegexMatch commands are not using case-insensitive mode

Add i) to the start of the match pattern
by evilC
28 May 2019, 11:22
Forum: Ask For Help
Topic: MouseHook causes severe input issues for hotkeys which do not use it
Replies: 10
Views: 1571

Re: MouseHook causes severe input issues for hotkeys which do not use it

In all my years of coding AHK, I have never, ever seen ANY code that uses KeyWait which cannot be done in a more robust manner. A short timeout is not bad, but a KeyWait with no timeout is bad code, period IMHO
by evilC
28 May 2019, 11:18
Forum: Ask For Help
Topic: AHK omits to remap some of wheel scroll moves
Replies: 4
Views: 818

Re: AHK omits to remap some of wheel scroll moves

P.S. One last thing, why I cannot declare variables in the beginning of script but inside hotkey declaration? You have a return statement before the setting of the variables CoordMode, Mouse, Screen return ; <--- STOPS EXECUTION ; UNREACHABLE CODE ; declared variables are not visible inside hotkey ...
by evilC
28 May 2019, 11:10
Forum: Gaming
Topic: [Library] MouseDelta - See mouse input the way games see it. (Use for mouse axis->key or joystick)
Replies: 95
Views: 60892

Re: [Library] MouseDelta - See mouse input the way games see it. (Use for mouse axis->key or joystick)

DllCall("mouse_event"... is functionally identical to DllCall("SendInput" ... NEITHER of them can move the mouse to a specific point on the screen, both of them move the mouse by a RELATIVE amount (eg "10 units left of the current position") Also, neither of these move the mouse in PIXELS, they move...

Go to advanced search