• Astrobama

    Sweet, thanks a bunch guys!
    I'll find some time to fix up my remote.

    posted in Q&A read more
  • Astrobama

    G'day
    So, I made myself a custom remote for Elite Dangerous, and it seems to work fine outside of the game, but the actual game won't register the keypresses from the app. I've tested it in word, and it registers the keys I press, but just won't work in game. Is there a way of making it work for the game?

    I am also having trouble mapping "/" and ";" to buttons.

    Layout:

    <?xml version="1.0" encoding="utf-8"?>
    <layout>
        <row>
            <button text="Frame Shift Drive" ontap="FSD" />
        </row>
        <row>
        <button text="Super Cruise" ontap="SCruise" />
        </row>
        <row>
            <button text="Landing Gear" ontap="LGear" />
        </row>
        <row>
            <button text="Lights" ontap="command10" />
            <button text="Top Panel" ontap="Top" />
            <button text="Cargo Scoop" ontap="CScoop" />
        </row>
        <row>
            <button text="Left Panel" ontap="Left" />
            <button text="Look Straight" ontap="Forward" />
            <button text="Right Panel" ontap="Right" />
        </row>
        <row>
            <button text="Galaxy Map" ontap="Galaxy" />
            <button text="Bottom Panel" ontap="Down" />
            <button text="System Map" ontap="System" />
        </row>
    </layout>
    

    Remote:

    local kb = libs.keyboard;
    local ms = libs.mouse;
    
    
    -- Documentation
    -- http://www.unifiedremote.com/api
    
    -- Keyboard Library
    -- http://www.unifiedremote.com/api/libs/keyboard
    
    
    [email protected] Frame Shift Drive
    actions.FSD = function ()
        kb.stroke("j");
    end
    
    
    [email protected] Landing Gear
    actions.LGear = function ()
        kb.stroke("l");
    end
    
    
    [email protected] Cargo Scoop
    actions.CScoop = function ()
        kb.stroke("Home");
    end
    
    [email protected] Super Cruise
    actions.SCruise = function ()
        kb.stroke("Alt");
    end
    
    [email protected] Top Panel
    actions.Top = function ()
        kb.stroke("2");
    end
    
    [email protected] Left Panel
    actions.Left = function ()
        kb.stroke("1");
    end
    
    [email protected] Look Forward
    actions.Forward = function ()
        kb.stroke("SHIFT");
    end
    
    [email protected] Right Panel
    actions.Right = function ()
        kb.stroke("4");
    end
    
    [email protected] Bottom Panel
    actions.Down = function ()
        kb.stroke("3");
    end
    
    [email protected] Lights
    actions.Lights = function ()
        kb.stroke("INSERT");
    end
    
    [email protected] Galaxy Map
    actions.Galaxy = function ()
        kb.stroke("/");
    end
    
    [email protected] System Map
    actions.System = function ()
        kb.stroke(";");
    end
    

    (The last 2 are the ones I'm having trouble mapping to "/" and ";")

    Edit: I'm pretty sure I've figured it out. The key presses were too quick for the game to register, so I need a delay in there to make it work.

    Edit 2: So I figured out the issue, but I am unable to figure out a solution. How can I add a delay of around 60ms between the key press and key release?
    I also forgot about my "/" and ";" problem.

    posted in Q&A read more
  • Astrobama

    Hey man
    I've been making my own remote for Elite Dangerous, and I was having trouble getting it to work.
    Now it works outside of the game, but not in game, and I tried to try out yours and it does the same thing.
    You have any idea why Elite Dangerous would not register these key presses?

    Edit: I know this is an old post, but I'm really interested in this idea.

    posted in Projects read more

Internal error.

Oops! Looks like something went wrong!