EG - Detect Virtual Input

If you have a question or need help, this is the place to be.
Post Reply
pralima87
Posts: 11
Joined: Tue Sep 11, 2018 3:36 pm

EG - Detect Virtual Input

Post by pralima87 » Wed Sep 12, 2018 2:43 pm

Ok so I just started learning about EG for about some days.

My setup is that when my gamepad connects to the PC EG will change the main display and audio from the monitor to the TV.
And also turns the TV on + Source HDMI1.
Basically I created a HDMI-CEC effect.
This first step is woking 100% great.
The problem is when and how to send back all signals to the monitor

My idea is to make a gamepad hotkey to emulate "Shift+Ctrl+F11"
but EG can't detect it ;/
The combo would be a perfect event to send the display and audio back to the monitor.
And also turn the TV off.

But for the live of me I can't make it detect "emulated keyboard inputs".
Basically I need EG to detect a keyboard input combo "Shift+Ctrl+F11"
but since this will be triggered by a emulated input EG just ignores it

I could also use the controller disconnects as a event
but that would cause several problems since the controller will disconnect when idle for too long
like when watching a movie.

Any tips?

User avatar
kgschlosser
Site Admin
Posts: 4308
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: EG - Detect Virtual Input

Post by kgschlosser » Thu Sep 13, 2018 1:48 am

need to know what the "gamepad" is. and what are you using to emulate the keystrokes?

if you are using EG to emulate the "Shift+Ctrl+F11" then why not simply use the events you are using to emulate those keystrokes to run the actions that you want to have run when those keystrokes are pressed??.

If you are not using emulated keystrokes that are made by eventghost but some other program. we are going to have to do some playing around with it.

Windows has 2 mechanisms for emulating keystrokes. one of them is injecting the keystrokes right into the keyboard input buffer. the second is to send them to an application directly.

Before we get into this aspect of it.. do you have the keyboard plugin installed??
If you like the work I have been doing then feel free to Image

pralima87
Posts: 11
Joined: Tue Sep 11, 2018 3:36 pm

Re: EG - Detect Virtual Input

Post by pralima87 » Thu Sep 13, 2018 7:29 pm

Thanks for helping me out!!
"need to know what the "gamepad" is. and what are you using to emulate the keystrokes?"
I'm using a DS4 controller fully custumized in the steam app using the steam controller hotkeys.
And yes the gamepad is emulating a keyboard.
There is both the full steam keyboard and
I created a hotkey:
steam/ps/guide button+options/select for 3 seconds -> triggers the release of Ctrl+Shift+F11
If you are not using emulated keystrokes that are made by eventghost but some other program. we are going to have to do some playing around with it.
yep that is exactly what I'm doing.
do you have the keyboard plugin installed??
Yes. But it does not detect steam virtual keyboard inputs

User avatar
kgschlosser
Site Admin
Posts: 4308
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: EG - Detect Virtual Input

Post by kgschlosser » Thu Sep 13, 2018 8:49 pm

In the steam app do you have the ability to select a specific program to inject the keycodes into?? I have heard of steam but I do not know anything about it. I thought it is a program that games run in. And if that is the case then the steam emulating the keystrokes are only being sent to the steam application.


EventGhost only monitors the keyboard input buffer. This way it can cover all running applications and it only covers keyboard input or an emulated keystroke sent to the keyboard buffer.

Essentially there are 2 ways to emulate keystrokes.
The first is to send the keystrokes to the input buffer.
The second is to send them directly to a specific application as a keyboard event.

I am going to Hazzard a guess the second is what is taking place.
If you like the work I have been doing then feel free to Image

pralima87
Posts: 11
Joined: Tue Sep 11, 2018 3:36 pm

Re: EG - Detect Virtual Input

Post by pralima87 » Thu Sep 13, 2018 9:36 pm

The steam virtual keyboard works just like the windows virtual keyboard (osk.exe).
Any program will detect the inputs just fine.
There is no need to select a program

pralima87
Posts: 11
Joined: Tue Sep 11, 2018 3:36 pm

Re: EG - Detect Virtual Input

Post by pralima87 » Thu Sep 13, 2018 11:27 pm

So far not much luck on this.
I found a SimKey plugin but is very old and it just freezes EG

Apparently this plugin was supposed to register Virtual keyboard inputs.

Post Reply