Hooking DirectInput C++

preview_player
Показать описание
We are Hooking DirectInput with C++.
With this we can block data, redirect it to a menu such as ImGui or even simulate input.

- Music: Kaleidoscope by Alchemorph

Resources:
Рекомендации по теме
Комментарии
Автор

Great work as usual. Keep up the good work!!!!

crapyguy
Автор

Awesome video! Btw, I have already seen many of your videos and man, you explain everything very well. I remember I had to learn all these things on my own a few years ago, and it was really difficult because I was just lost and didn't even know where to start studying. I'm sure your videos are helping a lot of people that are starting to study game hacking and stuff. Keep up the hard work, I'm sure you'll soon hit a million subscribers!!! (btw, English is not my main language, so sorry about any grammar mistakes...)

arthurgroll
Автор

So good to watch your new video. Thnx for sharing ~! I've read the whole AD.

oraclematon
Автор

@CasualGamer Man this channel is sick, i hope you continue making these vids. Yours is the only place i feel like i come away learning something properly.

harveythe
Автор

Nice tut…what’s the difference of hooking dinput methods and just calling GetAsyncKeyState in the main loop?

begbarros
Автор

Hi, bro. how to make the directinput working even it lost focus? i've already hook SetCooperativeLevel and replace DISCL_FOREGROUND to DISCL_BACKGROUND but the game still can't simulate input when i'm in focus to other window. Thank you

muhammadrizkihidayat
Автор

I have DirectInput8Create output "DirectInput8Create failed!"

how did you manage to run halo in a window???

егорщербанов
Автор

@CasualGamer 7:17, line 24, getFunctionAddress function. Shouldn't be there "uintptr_t pFunction = avTable + index * sizeof(uintptr_t)"?

vaverix
Автор

My Imgui is not clickable direxrx9 game called Combat arms Classic how can i fix that?

zorro_official
Автор

Help me, follow the entire process and step by step, but I can't lock the keyboard, only the mouse. help me please.

julianomoraes
Автор

1:18 im totaly looking at that damn graph.

justaplebdontmindmeii
Автор

good thing you blurred the background on 1:20, I just couldn't take my eyes off of it.

corejake
Автор

Amazing tutorial. Can i release key pressing instead c++ send input (this works good, but need arrow which not have scan codes)

johannex.
Автор

What do you put for hmodule? Is it even initialized?

bilibiliyxu
Автор

Hello, could you do a video about how to check if process is running for external cheats?

jirihusak
Автор

Hey, first of all thx for the video

So, I do have a program, that looks for a special event (OpenCV detection of an object) and then plays a sound when found. so it presses "x" on the keyboard (ingame command for scan) every "y"seconds.
Can't run in the background tho, so I set it up + the game in a VM, which costs a lot of resources and is somewhat limiting.

thats why I was looking for hooking the input and then simulating the keypress "x".

At 3:00 : My game uses DirectX12, but from what I can tell, does not use Directinput.
DLLs I found in cheatengine containing "input" are:
"inputhost.dll"
"TextinputFramework.dll"
"xinput9_1_0.dll"
"XInput1_4.dll"

I simply have no clue, where to start / go from here. any advice is appreciated & thx in advance !
(also my program is written in python and I then need to find out dll injection works there)

mariusschubert
Автор

hey this work for the new black ops cold war??

happyoncrack
Автор

hi man, how can I contact u? mail/discord

kubi
Автор

Nice tutorial but how to send theses values to imgui?

bambou
Автор

what if the game dont have any Input at all?

hieupc