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.

KMPlayer

Questions and comments specific to a particular plugin should go here.
Milbrot
Plugin Developer
Posts: 79
Joined: Wed Mar 29, 2006 11:07 am

Re: KMPlayer

Post by Milbrot »

Maybe it helps when you change something in KMPlayer under "Options-Preferences-General-Keys/Global Control"?
defender013
Posts: 10
Joined: Mon Feb 15, 2010 10:53 am

Re: KMPlayer

Post by defender013 »

hi all,

just wanted to share my experience with everyone, just in case anyone is having the same problem with KMPlayer specifically.

I did in fact search through preferences, and did not find anything that explicitly disabled HID response. I had set my mind on trying to disable the HID device until it dawned on me that perhaps there is something in the registry.

So after searching through KMPlayer's registry, I came across a term that resembled something along the lines of MultiMediaKeyBoard.

By setting this term to false, I've effectively disabled KMPlayer's response to any special HID function, and hence resolved my problem.

Personally, I don't really like this solution, so I'm still looking into others. theGood from AHKHID recommended disabling the emulated virtual keyboard, and EG's own bartman has suggested trying the 0.4 EG release (i think this is experimental or something, since i cannot find it in the official release as of yet).

thanks all!
Milbrot
Plugin Developer
Posts: 79
Joined: Wed Mar 29, 2006 11:07 am

Re: KMPlayer

Post by Milbrot »

There is an option to disable multimedia keyboard in KMPlayer under "Options-Preferences-General-Support multimedia keyboard".

EG 0.4 is experimental you can find it here http://www.eventghost.org/downloads/

thanks for share your experience
defender013
Posts: 10
Joined: Mon Feb 15, 2010 10:53 am

Re: KMPlayer

Post by defender013 »

why milbrot,

thank you for pointing that out, i have no idea why i didnt notice it...i think i was so sure the option would be in keyboard/mouse control that i completely glossed over the general section.

thanks for pointing that out, i dont feel quite as bad about this workaround now, since it is an actual option.
stecaro
Posts: 2
Joined: Mon Jun 14, 2010 7:14 pm

Re: KMPlayer

Post by stecaro »

Hi everybody,
I am using EventGhost XBMC XBox Remote and KMPlayer as external player.
Only a few keys of my remote are working.
How to map UP DOWN LEFT RIGHT keys to navigate thru DVD Menu?
I don't find the command in the DVD section of __init__.py

(eg.ActionGroup, 'DVD', 'DVD', None, (
(MsgAction,'SubpictureMenu','SubpictureMenu', None, 0x30),
(MsgAction,'AudioMenu','AudioMenu', None, 0x31),
(MsgAction,'AngleMenu','AngleMenu', None, 0x32),
(MsgAction,'MoveMenu','MoveMenu', None, 0x33),
(MsgAction,'PrevChapter','PrevChapter', None, 0x34),
(MsgAction,'NextChapter','NextChapter', None, 0x35),
(MsgAction,'RootMenu','RootMenu', None, 0x36),
(MsgAction,'TitleMenu','TitleMenu', None, 0x37),
(MsgAction,'SubpictureMenu','SubpictureMenu', None, 0x38),
(MsgAction,'AudioMenu','AudioMenu', None, 0x39),
(MsgAction,'AngleMenu','AngleMenu', None, 0x3A),
(MsgAction,'ChapterMenu','ChapterMenu', None, 0x3B),
(MsgAction,'RestoreMenu','RestoreMenu', None, 0x3C),
(MsgAction,'ClosedCaption','ClosedCaption', None, 0x3D),
(MsgAction,'1XBackward','1XBackward', None, 0x3E),
(MsgAction,'2XBackward','2XBackward', None, 0x3F),
(MsgAction,'4XBackward','4XBackward', None, 0x40),
(MsgAction,'8XBackward','8XBackward', None, 0x41),
(MsgAction,'1XForeward','1XForeward', None, 0x42),
(MsgAction,'2XForeward','2XForeward', None, 0x43),
(MsgAction,'4XForeward','4XForeward', None, 0x44),
(MsgAction,'8XForeward','8XForeward', None, 0x45),
(MsgAction,'RelativeButton','RelativeButton', None, 0x210000),
(MsgAction,'ActivateButton','ActivateButton', None, 0x210001),
(MsgAction,'GetSelectedButton','GetSelectedButton', None, 0x210002),
(MsgAction,'Menu','Menu', None, 0xA),
)),
Milbrot
Plugin Developer
Posts: 79
Joined: Wed Mar 29, 2006 11:07 am

Re: KMPlayer

Post by Milbrot »

Hello stecaro,

if you need a function that is not in the plugin you can only
use the emulate keystrokes function in EventGhost.

For UP DOWN LEFT RIGHT keys it can be like this example:

Code: Select all

<EventGhost Name="Konfigurations-Baum" Expanded="True" Version="1262" Guid="{5263E4A0-368B-4EEA-BD2A-2B1558F5D2FE}" Time="1277643462.31">
    <Autostart Name="Autostart" Expanded="True" />
    <Macro Name="Navigator Up">
        <Action>
            Window.FindWindow(u'KMPlayer.exe', None, None, None, None, 1, False, 0.0, 0)
        </Action>
        <Action>
            Window.BringToFront()
        </Action>
        <Action>
            Window.SendKeys(u'{Up}', False)
        </Action>
    </Macro>
    <Macro Name="Navigator Right">
        <Action>
            Window.FindWindow(u'KMPlayer.exe', None, None, None, None, 1, False, 0.0, 0)
        </Action>
        <Action>
            Window.BringToFront()
        </Action>
        <Action>
            Window.SendKeys(u'{Right}', False)
        </Action>
    </Macro>
    <Macro Name="Navigator Left">
        <Action>
            Window.FindWindow(u'KMPlayer.exe', None, None, None, None, 1, False, 0.0, 0)
        </Action>
        <Action>
            Window.BringToFront()
        </Action>
        <Action>
            Window.SendKeys(u'{Left}', False)
        </Action>
    </Macro>
    <Macro Name="Navigator Down">
        <Action>
            Window.FindWindow(u'KMPlayer.exe', None, None, None, None, 1, False, 0.0, 0)
        </Action>
        <Action>
            Window.BringToFront()
        </Action>
        <Action>
            Window.SendKeys(u'{Down}', False)
        </Action>
    </Macro>
    <Macro Name="Navigator Select">
        <Action>
            Window.FindWindow(u'KMPlayer.exe', None, None, None, None, 1, False, 0.0, 0)
        </Action>
        <Action>
            Window.BringToFront()
        </Action>
        <Action>
            Window.SendKeys(u'{Enter}', False)
        </Action>
    </Macro>
</EventGhost>
Post Reply