Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

[HELP] MCE Remote through Keyboard Emulator to Emulator

If you have a question or need help, this is the place to be.
Post Reply
lahonda_99
Posts: 3
Joined: Sun Jun 13, 2010 11:54 pm

[HELP] MCE Remote through Keyboard Emulator to Emulator

Post by lahonda_99 »

Compatibility Matrix
Dolphin 2.0
FCEUX
Fusion 3.64
MAME 0.138
Ootake 2.40
Oswan 1.7.3
SNES9x 1.52
VisualBoy Advance 1.8.0b3

OS: Windows XP 64bit Service Pack 2
EventGhost: 0.3.7.r1462
Remote Control: MCE Remote 1069

Using this setup I use EventGhost to emulate keyboard presses corresponding to shortcuts within some emulators. The green items in the compatibility matrix are programs that accept remote commands passed through EventGhost as emulated keyboard presses. Ootake accepts some and not others (emulating the F12 key works, but the 'S' or 'L' keys do. Red entries do not work with EventGhost.
Image

Something as simple as sending the keyboard press of 'p' to MAME does nothing, while simply pressing 'p' on my physical keyboard is successful. I have tried the "Use alternate method to emulate keypresses" option with no difference. EventGhost log shows a successful execution of the macro.
Image

There are no errors. Some keys work, others do not. Some emulators accept commands from EventGhost, others do not. Any ideas? Perhaps something to do with DirectInput?
Last edited by lahonda_99 on Tue Jun 15, 2010 1:13 am, edited 6 times in total.
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: [HELP] MCE Remote through Keyboard Emulator to Emulator

Post by jonib »

Did you try the "Use alternative method to emulate keypresses" in the Emulate keystroke settings?

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
lahonda_99
Posts: 3
Joined: Sun Jun 13, 2010 11:54 pm

Re: [HELP] MCE Remote through Keyboard Emulator to Emulator

Post by lahonda_99 »

Yes, I have tried it to no avail. The above post has been edited to reflect it.
stottle
Plugin Developer
Posts: 636
Joined: Sun Apr 26, 2009 10:59 pm

Re: [HELP] MCE Remote through Keyboard Emulator to Emulator

Post by stottle »

You might want to take a look at this thread and see if handling simulated keys helps.

There's some code on the 2nd and 3rd pages that might get the events to show up.

Brett
lahonda_99
Posts: 3
Joined: Sun Jun 13, 2010 11:54 pm

Re: [HELP] MCE Remote through Keyboard Emulator to Emulator

Post by lahonda_99 »

I read the thread and tried this fix, but it did not work.
=-=-=-=-=-=-=
In the file [EG directory]\eg\Classes\EventGhostEvent.py, could you change the line (#142) from

Code: Select all

if self.prefix != "Keyboard":
to

Code: Select all

if not (self.prefix == "Keyboard" or self.prefix == "SimKey"):
=-=-=-=-=-=-=

Certain programs still do not respond to keypresses passed through EventGhost. The events do show up within EventGhost. There is no problem with the remote I am using or the macros programmed within EG, it is just that EG is not passing certain presses to random programs.
Post Reply