Github: Villageslayer
UC: Villageslayer
A Diagram:
GFCK
|
+-- Mouse(GFCK*)
| |
| +-- move(int x, int y)
| +-- scroll(int delta)
| +-- click(MouseButtons button)
| +-- press(MouseButtons button)
| +-- release()
|
+-- Keyboard(GFCK*)
| |
| +-- pressAndRelease(Keys key)
| +-- multiPress(std::vector<Keys> keys)
| +-- press(Keys key);
| +-- release();
| +-- pressAndRelease(Keys key);
| +-- typeString(const std::string& str);
| +-- test();
^^ Handles the Driver Communication and Events. For more info Read The Fucking Files. Functions:
- isOpen
- checkVersion
- open
- close
Mouse Functions:
- Move
- Scroll
- Click
- Press
- Release
API for Keyboard Functions Keyboard Functions:
- Press
- Release
- PressAndRelease
- MultiPress
- TypeString
- Test
Driver Handler
Mouse API
Keyboard API
Mouse Buttons
Keyboard Keys
Mouse Data Struct
Keyboard Data Struct
Checks if The Connection has been made
Checks if the correct Version of GHUB is installed by checking the contents of
C:\\Program Files\\LGHUB\\versionreturns true if the version is13.1.4.Opens the Connection to the Driver
Closes the Connection to the Driver
These Methods are meant for internal use only
Packages Input into MOUSE_IO and Sends Mouse Event to the Driver
Packages Input into KEYBOARD_IO and Sends Keyboard Event to the Driver
Releases all Pressed Keys
Moves the Mouse to the Relative Position (x,y)
Scrolls the Mouse Wheel by delta Positive delta Scrolls Up. Negative delta Scrolls Down
Presses and Releases the Given Button with a delay of 120ms
Presses the Given Button
Releases the last Pressed Button
Presses and Releases the Given Key
Presses the Given Key
Presses the Given Keys
Releases all Pressed Keys
Types the Given String
Types
The quick brown fox jumps over the lazy dogto Test the Keyboard
see GFCK.h for the full list of Keys