DMALibrary icon indicating copy to clipboard operation
DMALibrary copied to clipboard

how to get gafAsyncKeyStateExport?

Open nethuige opened this issue 1 year ago • 6 comments

gafAsyncKeyStateExport = user_session_state + 0x3690;

I would like to ask how to get it using 0x3690? I used ida to open the win32ksgd.sys of the win11 22h2 version, but the offset was never found.

nethuige avatar Sep 01 '24 06:09 nethuige

The one you're looking for is not in win32ksgd.sys. You can find the offset in win32kbase.sys, within the NtUserGetAsyncKeyState function you'll find the offset you're looking for. image

as you can see on the photo attached.

Metick avatar Sep 01 '24 12:09 Metick

The one you're looking for is not in win32ksgd.sys. You can find the offset in win32kbase.sys, within the NtUserGetAsyncKeyState function you'll find the offset you're looking for. image

as you can see on the photo attached.

Xbox Is there any way to obtain the status

lishaoju avatar Sep 01 '24 17:09 lishaoju

The one you're looking for is not in win32ksgd.sys. You can find the offset in win32kbase.sys, within the NtUserGetAsyncKeyState function you'll find the offset you're looking for. image as you can see on the photo attached.

Xbox Is there any way to obtain the status

Do you english?

Metick avatar Sep 01 '24 20:09 Metick

您要找的那个不在win32ksgd.sys。可以在 win32kbase.sys 中找到偏移量,在 NtUserGetAsyncKeyState 函数中,你将找到要查找的偏移量。图像正如您在所附照片上看到的那样。

Xbox 有什么方法可以获取状态吗

您会说英语吗?

Sorry, my English isn't very good. How do I get the button state of a game controller?

lishaoju avatar Sep 02 '24 02:09 lishaoju

您要查找的文件不在 win32ksgd.sys 中。您可以在 win32kbase.sys 中找到偏移量,在 NtUserGetAsyncKeyState 函数中您将找到您要查找的偏移量。 图像

正如您在所附照片中看到的。

thank you very much!

nethuige avatar Sep 02 '24 04:09 nethuige

您要找的那个不在win32ksgd.sys。可以在 win32kbase.sys 中找到偏移量,在 NtUserGetAsyncKeyState 函数中,你将找到要查找的偏移量。图像正如您在所附照片上看到的那样。

Xbox 有什么方法可以获取状态吗

您会说英语吗?

Sorry, my English isn't very good. How do I get the button state of a game controller?

You don't you need dinput and xinput for that. aka just read the ingame input system instead.

Metick avatar Sep 02 '24 10:09 Metick