xbox remote with EventGhost
#1
I've been meaning to ask this for a long time.

I use the original xbox dongle with EventGhost on my XP machine.

Using the EventGhost plugin for the xbox remote, I mapped remote buttons to XBMC actions.

However, apparently I didn't map them all.

For example, the 'menu' button was set to the action "previous menu", but the OSD wouldn't work in DVDplayer until I also set the 'menu' button to the action "Show OSD".

So it appears that the buttons all perform different actions based on context - paplayer is different from DVDPlayer is different from menu browsing, etc.

Does anyone have a complete list of the default actions that each button should take in each context, based on what they did in the xbox build?

If someone could help, I'd be glad to create a default profile and contribute it to the EventGhost project.

Thanks a bunch,

-wes
Reply
#2
Here's all I have in my XML so far.

Anyone have the other things I should add?

I know I'm missing big skip forward, big skip back, small skip forward, small skip back, volume, and mute from the original xbox mappings.

I'm especially interested in what other context-sensitive actions the Menu, Back, Info, and Title buttons should be doing. ie. with my current mappings, there's no way to exit the visualization when using PAPlayer other than pressing STOP.

Is this the correct way to do this? Map multiple XBMC actions to the same "Event Name" from the XBCDRC plugin?

Code:
<Folder Name="XBMC">
        <Macro Name="Up">
            <Event Name="XBCDRC.UP" />
            <Action>
                XBMC.Up()
            </Action>
            <Action>
                EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
            </Action>
        </Macro>
        <Macro Name="Down">
            <Event Name="XBCDRC.DOWN" />
            <Action>
                XBMC.Down()
            </Action>
            <Action>
                EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
            </Action>
        </Macro>
        <Macro Name="Left">
            <Event Name="XBCDRC.LEFT" />
            <Action>
                XBMC.Left()
            </Action>
            <Action>
                EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
            </Action>
        </Macro>
        <Macro Name="Right">
            <Event Name="XBCDRC.RIGHT" />
            <Action>
                XBMC.Right()
            </Action>
            <Action>
                EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
            </Action>
        </Macro>
        <Macro Name="Select">
            <Event Name="XBCDRC.SELECT" />
            <Action>
                XBMC.Select()
            </Action>
        </Macro>
        <Macro Name="Previous Menu">
            <Event Name="XBCDRC.MENU" />
            <Action>
                XBMC.PreviousMenu()
            </Action>
        </Macro>
        <Macro Name="Context Menu">
            <Event Name="XBCDRC.TITLE" />
            <Action>
                XBMC.ContextMenu()
            </Action>
        </Macro>
        <Macro Name="Play">
            <Event Name="XBCDRC.PLAY" />
            <Action>
                XBMC.Play()
            </Action>
        </Macro>
        <Macro Name="Pause">
            <Event Name="XBCDRC.PAUSE" />
            <Action>
                XBMC.Pause()
            </Action>
        </Macro>
        <Macro Name="Stop">
            <Event Name="XBCDRC.STOP" />
            <Action>
                XBMC.Stop()
            </Action>
        </Macro>
        <Macro Name="Fast Forward">
            <Event Name="XBCDRC.FORWARD" />
            <Action>
                XBMC.FastForward()
            </Action>
            <Action>
                EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
            </Action>
        </Macro>
        <Macro Name="Rewind">
            <Event Name="XBCDRC.REVERSE" />
            <Action>
                XBMC.Rewind()
            </Action>
            <Action>
                EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
            </Action>
        </Macro>
        <Macro Name="Skip Next">
            <Event Name="XBCDRC.SKIP+" />
            <Action>
                XBMC.SkipNext()
            </Action>
        </Macro>
        <Macro Name="Skip Previous">
            <Event Name="XBCDRC.SKIP-" />
            <Action>
                XBMC.SkipPrevious()
            </Action>
        </Macro>
        <Macro Name="Number 0">
            <Event Name="XBCDRC.0" />
            <Action>
                XBMC.Number0()
            </Action>
        </Macro>
        <Macro Name="Number 1">
            <Event Name="XBCDRC.1" />
            <Action>
                XBMC.Number1()
            </Action>
        </Macro>
        <Macro Name="Number 2">
            <Event Name="XBCDRC.2" />
            <Action>
                XBMC.Number2()
            </Action>
        </Macro>
        <Macro Name="Number 3">
            <Event Name="XBCDRC.3" />
            <Action>
                XBMC.Number3()
            </Action>
        </Macro>
        <Macro Name="Number 4">
            <Event Name="XBCDRC.4" />
            <Action>
                XBMC.Number4()
            </Action>
        </Macro>
        <Macro Name="Number 5">
            <Event Name="XBCDRC.5" />
            <Action>
                XBMC.Number5()
            </Action>
        </Macro>
        <Macro Name="Number 6">
            <Event Name="XBCDRC.6" />
            <Action>
                XBMC.Number6()
            </Action>
        </Macro>
        <Macro Name="Number 7">
            <Event Name="XBCDRC.7" />
            <Action>
                XBMC.Number7()
            </Action>
        </Macro>
        <Macro Name="Number 8">
            <Event Name="XBCDRC.8" />
            <Action>
                XBMC.Number8()
            </Action>
        </Macro>
        <Macro Name="Number 9">
            <Event Name="XBCDRC.9" />
            <Action>
                XBMC.Number9()
            </Action>
        </Macro>
        <Macro Name="Parent Dir">
            <Event Name="XBCDRC.BACK" />
            <Action>
                XBMC.ParentDir()
            </Action>
        </Macro>
        <Macro Name="Info">
            <Event Name="XBCDRC.INFO" />
            <Action>
                XBMC.Info()
            </Action>
        </Macro>
    </Folder>
Reply
#3
The solution to this was to use Jonib's XBMCRepeat plugin, which emulates the actual remote buttons from the <remote> section of the keymap.xml, so it works perfectly. Just FYI.

Here are the updated instructions:

http://forum.xbmc.org/showthread.php?tid=45337

-Wes
Reply

Logout Mark Read Team Forum Stats Members Help
xbox remote with EventGhost0