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 do I add the hotkey for Cheat Engine: mouselook

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
New Member
How do I cheat?
Reputation: 0

Joined: 29 Jan 2016
Posts: 6

PostPosted: Thu Oct 04, 2018 1:41 am    Post subject: How do I add the hotkey for Cheat Engine: mouselook Reply with quote

I mean instead of using w,a,s,d as hotkeys for look up, look down, look left, look right. I want to use the mouselook controls instead. How do I do that? What do I write in the hotkey section?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25287
Location: The netherlands

PostPosted: Thu Oct 04, 2018 2:52 am    Post subject: Reply with quote

set the mouse cursor to the center of the screen and then use a very fast timer to read out the mouse cursor distance from the center of the screen and translate that into w,a,s,d key presses (and based on the distance longer down).
then afterwards set the mouse cursor back to the center and let that repeat

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
New Member
How do I cheat?
Reputation: 0

Joined: 29 Jan 2016
Posts: 6

PostPosted: Thu Oct 04, 2018 8:30 am    Post subject: Reply with quote

Dark Byte wrote:
set the mouse cursor to the center of the screen and then use a very fast timer to read out the mouse cursor distance from the center of the screen and translate that into w,a,s,d key presses (and based on the distance longer down).
then afterwards set the mouse cursor back to the center and let that repeat


I found this answer from reddit but
Quote:
Read/write your mouse XY values via getMousePos() and use those values in place of isKeyPressed(), where applicable.


How do I write or copy/paste "getMousePos()" in hotkey section?

http: // imgbox. com/ INKNp56A
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Thu Oct 04, 2018 9:24 am    Post subject: Reply with quote

New Member wrote:
...
How do I write or copy/paste "getMousePos()" in hotkey section?
...


You don't/can't.
The quote from reddit tells you to do the same thing DB said to do (in way less detail).

_________________
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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