Search found 16 matches

by Galvatron
26 Jul 2017, 02:53
Forum: Ask for Help (v1)
Topic: Switch mouse DPI with keyboard?
Replies: 20
Views: 6273

Re: Switch mouse DPI with keyboard?

Thanks, script works fine. Sadly I am still getting this not-so precise movement like upper row on the picture I've posted. ; ================= USER SCRIPT ================ #SingleInstance force #NoEnv #include CLR.ahk Gui, Add, Text, , Select Mouse: mdw := new MouseDeltaWrapper("x+5 yp-3 w200") mdw...
by Galvatron
20 Jul 2017, 12:56
Forum: Ask for Help (v1)
Topic: Switch mouse DPI with keyboard?
Replies: 20
Views: 6273

Re: Switch mouse DPI with keyboard?

Tested now and it works good. But I can only do 1/2 mouse speed
x := round(x / 2)
y := round(y / 2)
Anything higher like 3,4 causes mouse to move in squares.

Also some toggle/hold button would be good. I guess for this extra script would be needed that would just enable/disable current one?
by Galvatron
20 Jul 2017, 12:22
Forum: C#
Topic: POC: RawInput mouse via C# CLR
Replies: 23
Views: 35136

Re: POC: RawInput mouse via C# CLR

Okay, made it to work. These values seem to be fine and more precise than with mousedelta: MoveEvent(x, y, mouseId){ x := round(x / 2) y := round(y / 2) Global mdw if (mdw.SelectedMouse == 0 || mdw.SelectedMouse == mouseId){ DllCall("mouse_event",uint,1,int, x ,int, y,uint,0,int,0) } } But using "x ...
by Galvatron
20 Jul 2017, 11:26
Forum: Ask for Help (v1)
Topic: Switch mouse DPI with keyboard?
Replies: 20
Views: 6273

Re: Switch mouse DPI with keyboard?

Thanks, no errors anymore but mouse sensitivity ain't changing, tried user and admin modes. ; ================= USER SCRIPT ================ #SingleInstance force #NoEnv #include CLR.ahk Gui, Add, Text, , Select Mouse: mdw := new MouseDeltaWrapper("x+5 yp-3 w200") mdw.SubscribeMove(Func("MoveEvent")...
by Galvatron
19 Jul 2017, 11:42
Forum: Ask for Help (v1)
Topic: Switch mouse DPI with keyboard?
Replies: 20
Views: 6273

Re: Switch mouse DPI with keyboard?

This is the error.

Image
by Galvatron
18 Jul 2017, 14:23
Forum: Ask for Help (v1)
Topic: Switch mouse DPI with keyboard?
Replies: 20
Views: 6273

Re: Switch mouse DPI with keyboard?

I'm not sure what I am doing wrong, but it throws me error: "0x2002000E invalid number of paramaters", "specifically SubsribeWheel" in current state: ; ================= USER SCRIPT ================ #SingleInstance force #NoEnv #include CLR.ahk OnExit, UnhookAndClose GoSub, Hook Gui, Add, Text, , Se...
by Galvatron
18 Jul 2017, 11:43
Forum: Ask for Help (v1)
Topic: Switch mouse DPI with keyboard?
Replies: 20
Views: 6273

Re: Switch mouse DPI with keyboard?

Yes, it doesn't work this way. CLR.ahk doesn't launch, MouseDelta.ahk drops CLR error. Also even if it would launch, not sure how to change DPI.
by Galvatron
18 Jul 2017, 09:46
Forum: Ask for Help (v1)
Topic: Switch mouse DPI with keyboard?
Replies: 20
Views: 6273

Re: Switch mouse DPI with keyboard?

I got problems with launching it, CLR library missing.
by Galvatron
17 Jul 2017, 19:26
Forum: Ask for Help (v1)
Topic: Switch mouse DPI with keyboard?
Replies: 20
Views: 6273

Re: Switch mouse DPI with keyboard?

Yeah I was talking about mousedelta. This is the problem, top is delta, middle is delta in sniper mode and bottom is same mouse with DPI switch. From left to right DPI400/800/1200/1600.

Image
by Galvatron
17 Jul 2017, 07:52
Forum: Ask for Help (v1)
Topic: Switch mouse DPI with keyboard?
Replies: 20
Views: 6273

Re: Switch mouse DPI with keyboard?

Little bump, got way behind without answer. I've seen many scripts being posted here but I would like it know if there's anything for changing DPI directly, not windows mouse sensitivity or using workaround like great "evilC's" script.
by Galvatron
14 Jul 2017, 15:32
Forum: Ask for Help (v1)
Topic: Switch mouse DPI with keyboard?
Replies: 20
Views: 6273

Switch mouse DPI with keyboard?

Hey, I need a script that would let me to switch mouse DPI with keyboard. I do have a mouse that can switch DPI by own key, but I want to be able to do it with keyboard. Is it possible? Mouse is Logitech G203 and it's using Logitech Gaming Software(not SetPoint).
by Galvatron
19 Jun 2017, 14:55
Forum: Ask for Help (v1)
Topic: Stop script from executing without altering stopping button Topic is solved
Replies: 7
Views: 1969

Re: Stop script from executing without altering stopping button Topic is solved

Those are the scripts, second one is MouseDelta.ahk. NumPadDot is not working as intended and numpad remap is on bottom of first script: #SingleInstance force #include MouseDelta.ahk ; ============= START USER-CONFIGURABLE SECTION ============= ShiftKey := "``" ; The key used to shift DPI. Can be an...
by Galvatron
13 Jun 2017, 16:55
Forum: Ask for Help (v1)
Topic: Stop script from executing without altering stopping button Topic is solved
Replies: 7
Views: 1969

Re: Stop script from executing without altering stopping button Topic is solved

Thanks. What about using this script when I have Num Lock enabled? It seems that it works well when it's disabled but does not work with it being on.
by Galvatron
12 Jun 2017, 05:31
Forum: Ask for Help (v1)
Topic: Stop script from executing without altering stopping button Topic is solved
Replies: 7
Views: 1969

Re: Stop script from executing without altering stopping button Topic is solved

My sub-script looks like this: NumpadDot::SendInput {s down} NumpadDel::SendInput {s down} ~w::SendInput {s up} ~Numpad0::SendInput {s up} ~NumpadIns::SendInput {s up} But there is a problem, somehow it interferes with Caps Lock. It's like when Caps Lock is enabled, pressing "w" button disables it(o...
by Galvatron
11 Jun 2017, 10:02
Forum: Ask for Help (v1)
Topic: Stop script from executing without altering stopping button Topic is solved
Replies: 7
Views: 1969

Stop script from executing without altering stopping button Topic is solved

Hello I do have a mini script that is part of bigger script. The part I am interested in: NumpadDot::SendInput {s down} NumpadDel::SendInput {s down} It just holds button down. Currently to stop it I must press S button. What I want to do, is to be able to stop it being held down while pressing cert...

Go to advanced search