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.

Mapping EG (Firefly) buttons to keyboard keys?

If you have a question or need help, this is the place to be.
stisev
Experienced User
Posts: 162
Joined: Tue Jun 26, 2007 2:55 am

Re: Mapping EG (Firefly) buttons to keyboard keys?

Post by stisev »

Hi easy

Here's what I used.

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1262">
    <Folder Name="Monitor" Expanded="True">
        <Macro Name="Monitor ON (Laptop) |||  OFF Projector">
            <Event Name="Keyboard.LAlt+F8">
            </Event>
            <Event Name="Firefly.Back">
            </Event>
            <Action>
                System.SetDisplayPreset(('\\\\.\\DISPLAY1', 0, 0, 1680L, 1050L, 60L, 32L, True, True, 0L), ('\\\\.\\DISPLAY2', 0, 0, 800, 600L, 60L, 32L, False, False, 0L))
            </Action>
            <Action>
                EventGhost.ShowOSD(u'OFF (110MP)  ON (Laptop)', None, (255, 255, 255), (0, 0, 0), 0, (0, 0), 0, 3.0)
            </Action>
        </Macro>
        <Macro Name="Monitor ON (Projector)  |||  OFF Laptop">
            <Event Name="Keyboard.LAlt+F8">
            </Event>
            <Event Name="Firefly.Enter">
            </Event>
            <Action>
                System.SetDisplayPreset(('\\\\.\\DISPLAY1', 0, 0, 1680L, 1050L, 60L, 32L, False, False, 0L), ('\\\\.\\DISPLAY2', 0, 0, 800, 600L, 60L, 32L, True, True, 0L))
            </Action>
            <Action>
                EventGhost.ShowOSD(u'ON (110MP)  OFF (Laptop)', None, (255, 255, 255), (0, 0, 0), 0, (0, 0), 0, 3.0)
            </Action>
        </Macro>
    </Folder>
</EventGhost>
Remember that this is suited for my setup only. Hope that helps.
Post Reply