Search found 71 matches

by phasermaniac
02 Apr 2018, 12:57
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 218
Views: 24402

Re: AutoHotInterception (AHI) v3.0: Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

Is there a way to click up without moving? I tested
AHI.SendMouseButtonEventAbsolute(this.id, 0, 0, 0, 0)
AHI.SendMouseButtonEvent(this.id, 0, 0)
but doesnt seem to work for me
by phasermaniac
02 Apr 2018, 12:35
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 218
Views: 24402

Re: AutoHotInterception (AHI) v3.0: Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

Hi , updated to 3.3, I have changed a little my code, so better forgive the one I uploaded, I'll update when a little bit tested. I noticed there is no need for blocking unblocking mouse movement. As the coordinates are get in the simulated click down, thats good for me, only had to set the triggerd...
by phasermaniac
01 Apr 2018, 13:11
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 218
Views: 24402

Re: AutoHotInterception (AHI) v3.0: Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

Hi ZachL from what I've seen absolute coordinates are always 0-65000, they dont seem to have nothing to do with resolution, but I thought they would grow linearly...
by phasermaniac
01 Apr 2018, 03:18
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 218
Views: 24402

Re: AutoHotInterception (AHI) v3.0: Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

For now, I have it like this, I'm having 4 main goals: 1- Delay the trigger press. As I'm using crt guns, they need the screen to be all white in the press trigger moment. So I capture the real trigger and send the flasher instead. After the "triggerdelay" I simulate the trigger, controlling its dur...
by phasermaniac
31 Mar 2018, 18:08
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 218
Views: 24402

Re: AutoHotInterception (AHI) v3.0: Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

I tested inthearcade cabinet, with two guns, and I can say It works. Moreover your timer methode seems way more precise than the precision sleeps I was using. Before in dark games, maybe there were like 5% of missed shots, now seems to be 0%, but I have to test it more. The problem of getting the co...
by phasermaniac
31 Mar 2018, 04:01
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 218
Views: 24402

Re: AutoHotInterception (AHI) v3.0: Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

Updated to 3.0, worked as before without changing the code, I only changed the referencies to AHI to simplificate and continues working as before. But I keep having the problem I said before. I tested in another Computer, confirmed the interception.dll was the right one(64 version), but no luck. It'...
by phasermaniac
30 Mar 2018, 15:20
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 218
Views: 24402

Re: AutoHotInterception (AHI) v3.0: Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

Hi, I havent tried the 3.0 version, but was having your code working, in my test program, that only shows direct input devices, and had a major problem: When I began testing with real games and emulators, wich uses rawinput, guns are not detected as the original devices, in mame, if I press trigger ...
by phasermaniac
30 Mar 2018, 11:49
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 218
Views: 24402

Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

Many thanks! I updated to 2.1, and started to test your code. It is very different, not working for now, but It will take a while to me to understand. I'll give you the feedback once tested. thanks again
by phasermaniac
30 Mar 2018, 06:31
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 218
Views: 24402

Re: AutoHotInterception - Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

thanks gregster, but if I make them global, I'm having the same problem:

Code: Select all

MouseEvent(x, y){
global mx :=x
global my :=x
ToolTip % "x:" mx "`ny:" my ;WORKS HERE BUT NOT OUTSIDE
}
by phasermaniac
30 Mar 2018, 05:45
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 218
Views: 24402

Re: AutoHotInterception - Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

I'm trying to use expression syntax as you said, but I'm having a problem that has nothing to do with this: How I can play with x and y coords? If I put the tooltip out the mousemovement function, I get empty x and y vars. triggerDelay(Gun){ If (Gun = Gun1) flashkey = a Else flashkey = k send, %flas...
by phasermaniac
29 Mar 2018, 19:35
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 218
Views: 24402

Re: AutoHotInterception - Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

Hi, I'm the guy using ahk wrapper to support crt lightguns. I'm moving to Autohotinterception as seems pretty much easier to code, but I need some help, I'm graphist, and I may have some basic errors coding, any help would be apreciated. crt guns are absolute coords mouse devices, and have the same ...
by phasermaniac
28 Mar 2018, 11:11
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 218
Views: 24402

Re: AutoHotInterception - Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

Hi! with 1.4, I got the keyboard hook working, but I culdnt detect mice. In fact they dont list in the DeviceList msgbox.
I tested with both examples but no way... any advice with this?
by phasermaniac
10 Mar 2018, 14:43
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 218
Views: 24402

Re: AutoHotInterception - Per-keyboard hotkeys for AHK (Fire macros in response to key on a 2nd keyboard)

hi! does this work with mice?
at the moment I was trying with my keyboard, and I get "Interception Test failed"...
also I'm not sure if my keybosrd is "HID\VID_413C&PID_2003&REV_0301", so VID := 0x413C, PID := 0x2003?
thanks
by phasermaniac
08 Feb 2018, 16:21
Forum: Ask For Help
Topic: Creating a wrapper for interception.dll (fixed and working!) Topic is solved
Replies: 110
Views: 15944

Re: Creating a wrapper for interception.dll (fixed and working!) Topic is solved

Hi! I tested some more and I think I am understanding most of the code now. But dont matter what I do, if I use MOUSE_MOVE filter, coordinates seem to be intercepted just in the event change moment (press/release), and as the flasher whites the screen from that moment, and crt guns need the screen w...
by phasermaniac
14 Oct 2017, 14:08
Forum: Ask For Help
Topic: Creating a wrapper for interception.dll (fixed and working!) Topic is solved
Replies: 110
Views: 15944

Re: Creating a wrapper for interception.dll (fixed and working!) Topic is solved

Only wanting to be sure there is no missunderstanding, I know without the device its impossible, I dont gonna insist more, sorry: Actually the flasher is "only" a program which, when I press some buttons (In my case a and k) the whole screen flashes, not only where the cursor is. I can choose the du...
by phasermaniac
14 Oct 2017, 05:22
Forum: Ask For Help
Topic: Creating a wrapper for interception.dll (fixed and working!) Topic is solved
Replies: 110
Views: 15944

Re: Creating a wrapper for interception.dll (fixed and working!) Topic is solved

No changes, I think I tried this already. In my understanding, when I press trigger it unlocks these gun inputs, and get the coords, then launch the flash and use these coordinates, but as they are get before the flash, they are incorrect, I would need to unlock this gun inputs in this moment, and t...
by phasermaniac
12 Oct 2017, 04:42
Forum: Ask For Help
Topic: Creating a wrapper for interception.dll (fixed and working!) Topic is solved
Replies: 110
Views: 15944

Re: Creating a wrapper for interception.dll (fixed and working!) Topic is solved

Sorry for being almost repetitive, but it's a little complicated to explain lightguns behavior. the mouse postion is sent with the SendMousePosition() yes, I have already tried changing this line position, but there is no change. I'm pretty confident the problem is when I'm getting the coordinates n...
by phasermaniac
10 Oct 2017, 12:45
Forum: Gaming
Topic: Universal Control Remapper (UCR) - v0.1.22 28th Oct 2018
Replies: 983
Views: 271562

Re: Universal Control Remapper (UCR) - v0.1.17 21st Aug 2017

I use crt ps2 guns with Ems topgun driver, so mine about 4$, but people use Aimtraks (IR) with flat screens and I think they costs about 50$ each one. I used interception to delay the trigger to be pressed after a screen flash crt guns needs to correcltly locate the shot, because they arent read ove...

Go to advanced search