Search found 74 matches

by phasermaniac
11 Apr 2020, 14:04
Forum: Ask For Help
Topic: Set Screen bright to near white
Replies: 0
Views: 259

Set Screen bright to near white

Hi! I wanted to do a screen flasher for CRT guns. CRT guns need the screen to be bright when you shoot. As I have a lightgun PC system working with emulators, I need to do it myself. The best I found are codes that seems to use ddcalls to SetMonitorBrightness or SetDeviceGammaRamp, but none of them ...
by phasermaniac
10 Apr 2020, 15:06
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 285
Views: 94770

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

Mmm, I updated but same problem.
I noticed that the Sourcecode.zip has the files updated to 10/4/2020, while AutoHotInterception.zip files seems older. So I updated AutoHotInterception.ahk, CLR.ahk and Unblocker.ps1 from Sourcecode.zip, is this right?

Many thanks anyway for your help!
by phasermaniac
10 Apr 2020, 07:06
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 285
Views: 94770

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

Hi! I got this code for crt lightguns working with version 3.0. I updated to last version and I have a little problem with the 0,0 coordinates: Before, I could detect when I was aiming offscreen this way: if (OffscreenReload && this.x=0 && this.y=0) But after updating, I can't detect when I'm aiming...
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: 285
Views: 94770

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: 285
Views: 94770

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: 285
Views: 94770

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: 285
Views: 94770

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: 285
Views: 94770

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: 285
Views: 94770

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: 285
Views: 94770

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: 285
Views: 94770

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: 285
Views: 94770

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: 285
Views: 94770

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: 285
Views: 94770

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: 285
Views: 94770

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: 285
Views: 94770

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: 33280

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: 33280

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...

Go to advanced search