<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    sorry for the late reply but i was on easter vacations and i also
    had to study for the university.<br>
    <br>
    i searched around the web how to create virtual joystick for linux.
    now for windows and mac i suppose it could be done later. below are
    some interesting pages i found.<br>
    <br>
    1)
<a class="moz-txt-link-freetext" href="http://stackoverflow.com/questions/11939255/writing-to-dev-uinput-on-ubuntu-12-04">http://stackoverflow.com/questions/11939255/writing-to-dev-uinput-on-ubuntu-12-04</a><br>
    2) <a class="moz-txt-link-freetext" href="https://github.com/ml32/Linux-Virtual-Joystick">https://github.com/ml32/Linux-Virtual-Joystick</a><br>
    3) <a class="moz-txt-link-freetext" href="http://hackshark.com/?p=147">http://hackshark.com/?p=147</a><br>
    <br>
    I wasn't able to test them yet. I am waiting for the release of
    plasma 5 kdeconnect and official kubuntu 15.04.<br>
    <br>
    <div class="moz-cite-prefix">On 31/03/2015 07:16 πμ, Albert Vaca
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAAQViEs1451mF2Wk2=jgu7AEQ60oqO+tvfV5EwS0E_PTKgLC2w@mail.gmail.com"
      type="cite">
      <div dir="ltr">I would like to know if it's possible to register
        an application as a "virtual controller" in Xorg. That would be
        more like the video that you shared than just sending keyboard
        input. On a phone screen you can simulate a joystick, but if
        it's implemented like a keyboard it will only work like a
        4-direction game pad. If we can emulate a controller, we will be
        able to simulate an actual joystick. Also, lots of games are
        already programmed to support XBox controllers, so they would
        work without any extra configuration. Have you investigated this
        possibility?<br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sun, Mar 29, 2015 at 4:15 PM, Aleix
          Pol <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:aleixpol@kde.org" target="_blank">aleixpol@kde.org</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex"><span
              class="">On Sun, Mar 29, 2015 at 1:28 PM, Konstantinos
              Athanasiou<br>
              <<a moz-do-not-send="true"
                href="mailto:dinosath0@gmail.com">dinosath0@gmail.com</a>>
              wrote:<br>
              > hello i am new here and first time contributing in a
              open source project. I<br>
              > would like to work on the gamepad plugin that was
              proposed and would like to<br>
              > hear your opinion.<br>
            </span>I love the idea. :)<br>
            <span class=""><br>
              ><br>
              ><br>
              > * My idea was to have 2 buttons when you open the
              plugin. One button for the<br>
              > gamepad and one for the editor. When you open the
              gamepad a list of<br>
              > layouts/themes is shown (e.g. psx,ps2,xbox etc) and
              you chose your layout<br>
              > and start playing. In the editor you can edit a
              layout/theme. You can edit<br>
              > the button icons, add actions (e.g. in openmorrowind
              open chest, start<br>
              > playing playlist from library etc) and assign
              hardware keys to button (for<br>
              > tablets with gaming buttons).<br>
            </span>Implementing editors on end-user applications hasn't
            been ideal in<br>
            some projects I've worked on. Maybe you'd like to start by<br>
            implementing some simple format that can be sent from the
            game host?<br>
            <span class=""><br>
              ><br>
              ><br>
              > * Now about implementation what do you think? Sould i
              send a message to the<br>
              > server when a key was pressed or should i send a
              message with the gamepad<br>
              > state in very short intervals( eg button1:pressed ||
              button2:not-pressed) or<br>
              > keep both and change in settings?<br>
            </span>Well, logic suggests that the less you send, the
            better. KDE Connect<br>
            protocol is admittedly quite verbose. I think that the
            biggest<br>
            decision you'll have to take is whether you want a
            persistent transfer<br>
            (i.e. a socket) or to send a package every time a key is
            pressed. How<br>
            you send it will depend on the approach you choose.<br>
            <span class=""><br>
              ><br>
              ><br>
              > * Lastly some more ideas i had about the actions for
              the buttons. For media<br>
              > controls we already have the mpris plugin , we also
              have have the keyboard<br>
              > plugin and touchpad plugin and hopefully many more
              coming.<br>
              ><br>
              > But what if wanted to have all those plugin in one
              screen? How about all<br>
              > these separate plugins were all simply buttons you
              can edit in the editor?<br>
              > What do you think?<br>
            </span>I'm not sure I understand what you mean. If what you
            mean is that you<br>
            want to send mprisplugin packages from your interface, then
            it's<br>
            technically possible but maybe it will overcomplicate it.
            I'm unsure.<br>
            I'd suggest to start by implementing the joystick API's and
            iterate<br>
            from there.<br>
            <span class=""><br>
              ><br>
              ><br>
              > I was inspired by GestureWorks Gameplay app. You can
              check it out here:<br>
              ><br>
              > <a moz-do-not-send="true"
                href="https://www.youtube.com/watch?v=0jfBqIheW-w"
                target="_blank">https://www.youtube.com/watch?v=0jfBqIheW-w</a><br>
              ><br>
              ><br>
              > Also , can you please tell me how to build kdeconnect
              in kubuntu 15.04 ? If<br>
              > it is hard i can do it in kubuntu 14.04.<br>
              <br>
            </span>I'd recommend 15.04, we're requiring some recent
            features in KF5, so<br>
            it will be easier for you.<br>
            <br>
            Cheers!<br>
            Aleix<br>
            _______________________________________________<br>
            KDEConnect mailing list<br>
            <a moz-do-not-send="true" href="mailto:KDEConnect@kde.org">KDEConnect@kde.org</a><br>
            <a moz-do-not-send="true"
              href="https://mail.kde.org/mailman/listinfo/kdeconnect"
              target="_blank">https://mail.kde.org/mailman/listinfo/kdeconnect</a><br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>