VGamepad PC
The Windows app for the virtual game controller.
Loading...
Searching...
No Matches
simulate.cpp File Reference
#include "simulate.hpp"
Include dependency graph for simulate.cpp:

Functions

bool blockExternalInput ()
 
bool unblockExternalInput ()
 
void clearExistingInput ()
 

Function Documentation

◆ blockExternalInput()

bool blockExternalInput ( )

This function is used to block input from external devices. It stops keyboard and mouse input events from reaching applications. It is used to prevent the user from accidentally interfering with the program.

https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-blockinput

Note
Emergency Exit: CTRL + ALT + DEL
See also
unblockExternalInput()

◆ clearExistingInput()

void clearExistingInput ( )

◆ unblockExternalInput()

bool unblockExternalInput ( )

This function is used to unblock input from external devices. It allows keyboard and mouse input events to reach applications again.

See also
blockExternalInput()