<br><br><div class="gmail_quote">On Sun, Feb 17, 2013 at 10:54 AM, Jonas Kulla <span dir="ltr"><<a href="mailto:nyocurio@gmail.com" target="_blank">nyocurio@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Wow, nice work!!</blockquote><div><br>Hey, thanks.<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Are you using SDL for joystick input?<br></blockquote><div>
<br>Yes, it uses SDL for joystick input.<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Something I've been wondering for some time now is wether wayland<br>
can support native joystick events, as there is an evdev driver for it.<br></blockquote><div><br>Certainly possible.<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>In SFML for example, if it wasn't for joystick input, the input thread could<br>just sleep waiting for new events to come in, but it has to continually poll<br>the joystick state. This could be solved very elegantly I think by just having<br>

a "joystick" or "gaming" protocol extension with native events.<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br>Yes, that would require a significant amount of work though I don't see any reason why it couldn't work.<br>
Currently, weston detects joysticks as mice and the first axis controls the pointer 1-1. We need a way<br>to distinguish between device types and handle them accordingly.<br><br>- Scott<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br> - Jonas<br>
</font></span><br>_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
<br></blockquote></div><br>