A library that allowes to simulate windows key presses.
The library consists of 3 sections, each one has different methods that do different things.
In this document i will list the methods that each one of the 3 files contains, their description,
the parameters you should pass them and also their return value.
Description : Returns the resolution of your monitor. Not tested for multiple monitor setups.
Parameters : None.
Return value : Tuple of length 2, first element represents width and second element represents height.
Description : Delays the program for a certain amount of time.
Parameters : The number of seconds to delay the program. Doesn't have to be a whole number.
Return value : None.
The keyboard file contains methods that interact with the keyboard.
Description : Starts pressing a certain key.
Parameters : A hexadecimal key code of the wanted key. A list of key hexadecimal key codes can be found here.
Return value : None.
Description : Releases a certain key.
Parameters : A hexadecimal key code of the wanted key. A list of key hexadecimal key codes can be found here.
Return value : None.
The mouse file contains method that interact with the mouse.
Description : Returns the position of the mouse.
Parameters : None.
Return value :
- The mouse x location.
- The mouse y location.
Description : Changes the mouse location
Parameters :
- The desired x location.
- The desired y location.
Return value: None.
Description : Starts pressing the right mouse button
Parameters : None.
Return value : None.
Description : Starts pressing the left mouse button
Parameters : None.
Return value : None.
Description : Stops pressing the right mouse button
Parameters : None.
Return value : None.
Description : Stops pressing the left mouse button
Parameters : None.
Return value : None.