Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How to push keyboard button in the ePSXe?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Razi
Expert Cheater
Reputation: 1

Joined: 17 Jan 2018
Posts: 202

PostPosted: Wed Jan 17, 2018 1:59 pm    Post subject: How to push keyboard button in the ePSXe? Reply with quote

How to push VK_NUMPAD6 in the ePSXe1.7.0? How to push VK_NUMPAD6, if value = 0 in the address 009CF175 in the ePSXe1.7.0? Next code works in the notepad, but do not works in the ePSXe1.7.0. ( But button VK_HOME works with this code in the epsxe. May be it is because epsxe uses dinput.dll ? )
Code:

if (value1 == 0) then
            keyDown(VK_NUMPAD6)
            sleep(100)
            keyUp(VK_NUMPAD6)
            sleep(500)
            keyDown(VK_NUMPAD6)
            sleep(100)
            keyUp(VK_NUMPAD6)
    end
end
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 138

Joined: 06 Jul 2014
Posts: 4275

PostPosted: Thu Jan 18, 2018 9:45 am    Post subject: Reply with quote

Quote:
Because DirectInput works directly with the device drivers, it either suppresses or ignores Windows mouse and keyboard messages.

source

Use Google for information on hooking directinput.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites