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

Post gaming related scripts
phasermaniac
Posts: 71
Joined: 09 Apr 2017, 14:05

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

14 Apr 2017, 18:54

Do you think ahkhid can help?
https://autohotkey.com/board/topic/53577-wacom-and-glovepie/
This guy seems that did something similar and says:
I have been successfully getting raw HID input (which must then be parsed) from my wacom cintiq with the AHKHID library

<!-- m -->http://www.autohotke... ... ght=ahkhid<!-- m -->

There are some test apps that you can use to capture your tablet's HID I/O messages. I also use BlockInput to block the tablet driver from adjusting the mouse, and use Autohotkey to handle the mouse movement instead
User avatar
evilC
Posts: 4095
Joined: 27 Feb 2014, 12:30

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

29 Apr 2017, 11:05

It would certainly be worth speaking to the interception guys, I dunno if Interception can do what you want, but they probably would.
AHKHID is going to be of no use at the moment, it uses the same technique as MouseDelta (Reading via RawInput API)
Our stumbling block is with blocking / intercepting.
bestguest

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

19 May 2017, 15:24

Hi,

Thank you for making these scripts! I want to implement your sniper-mode script but I am completely new to ahk....I was searching around for a way to change my DPI since my mouse has no driver or buttons to switch it and came accross your thread.
So I downloaded the LIBRARY, the first code in the first post and saved it as "MouseDelta.ahk" and then downloaded sniper-mode into same folder. Ran sniper-mode as administrator but when I press F12 the mouse sensitivity doesnt change.
What am I doing wrong?
If you could help out a noob in need :) I would be very grateful!
Also, how can I tweak the script to, make the mouse move faster instead of slower, at 600 DPI instead from default 400dpi while holding a button?
User avatar
masheen
Posts: 295
Joined: 06 Dec 2016, 14:10

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

18 Nov 2017, 20:51

evilC wrote:For anyone interested, I managed to implement MouseDelta as a C# DLL - see here


Can i to simulate this delta using PostMessage?
brutus_skywalker
Posts: 143
Joined: 24 Dec 2016, 13:16
Location: Antarctica

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

27 Mar 2018, 03:13

Helgef wrote:Someone asked for a mouse recorder in the ask for help section, so I tried to make a simple one.
My idea was, to save the delta info, eg, dx,dy, and then playback is simply MouseMove,dx,dy,0,R.
I realised quite quickly, that if you have any mouse acceleration or sensitivity settings on the mouse, the delta info doesn't match the mouse cursor, this is of course as (should be) expected, I felt stupid.
However, when I disabled these settings, to verify that my mouse recorder worked, in principle at least, I found that still some delta info seemed to be lost.
....


Sup dude, did you by any chance complete this mouse recorder, by all indications i'm guessing the code in that post was relating to an implementation as a UCR plugin.

I was wondering if you could post an abstraction of sorts that allows something like this, i only ask because you might have already done it, just as plugin for UCR:

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

Outsourcing Clicks & Presses Since 2004.
Helgef
Posts: 2912
Joined: 17 Jul 2016, 01:02
Contact:

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

27 Mar 2018, 04:05

Hello, maybe I have something, I do not recall, I will check later. Please send me a pm in a few days if I forget.

Cheers.

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 4 guests