<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><blockquote type="cite"><div>On Jun 19, 2014, at 7:29 PM, KwangHyuk Kim <<a href="mailto:hyuki.kim@samsung.com">hyuki.kim@samsung.com</a>> wrote:</div><br class="Apple-interchange-newline"><div><p style="margin-bottom: 5px; font-size: 12px; font-family: Arial, arial; margin-top: 5px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Dear Brady Eidson,</p><div style="margin-bottom: 5px; font-size: 12px; font-family: Arial, arial; margin-top: 5px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"> <br class="webkit-block-placeholder"></div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">> - Only EFL and GTK have Gamepad support code</div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">> - The code only supports in-process WebKit1</div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">> - GTK has it disabled</div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">> - EFL has it enabled, but has also committed to dropping WK1 support</div><div style="margin-bottom: 5px; font-size: 12px; font-family: Arial, arial; margin-top: 5px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"> <br class="webkit-block-placeholder"></div><p style="margin-bottom: 5px; font-size: 12px; font-family: Arial, arial; margin-top: 5px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">AFAIK, WK2-EFL is also supporting Gamepad api for now.<br></p></div></blockquote><div><br></div><div>Since there was no Gamepad code in the WK2 directory, I assumed this was not the case.</div><div><br></div><div>If EFL’s WK2 strategy is “have every web content process probe the same game pads independent of each other,” then hopefully the upcoming work to set up a proper process model will excite you!</div><br><blockquote type="cite"><div><p style="margin-bottom: 5px; font-size: 12px; font-family: Arial, arial; margin-top: 5px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">However, I would like to say that EFL are now interested in your task too. :)</p></div></blockquote><div><br></div><div>Great!</div><div><br></div><div>As far as getting device state from the native gamepad system, I’m sure it will be as easy to adapt to the new model as it was to write GamepadsEfL.cpp.</div><div><br></div><div>The new API does include notifications for connecting and disconnecting gamepads so an EFL maintaining will have to come along and fill in those bits, but it should be pretty straightforward.</div><div><br></div><div>Thanks,</div><div>~Brady</div><div><br></div><br><blockquote type="cite"><div><div><br></div></div></blockquote><br><blockquote type="cite"><div><div style="margin-bottom: 5px; font-size: 12px; font-family: Arial, arial; margin-top: 5px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"> <br class="webkit-block-placeholder"></div><p style="margin-bottom: 5px; font-size: 12px; font-family: Arial, arial; margin-top: 5px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">BR</p><p style="margin-bottom: 5px; font-size: 12px; font-family: Arial, arial; margin-top: 5px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"> - Kwang</p><div style="margin-bottom: 5px; font-size: 12px; font-family: Arial, arial; margin-top: 5px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"> <br class="webkit-block-placeholder"></div><p style="margin-bottom: 5px; font-size: 12px; font-family: Arial, arial; margin-top: 5px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">-------<span class="Apple-converted-space"> </span><b>Original Message</b><span class="Apple-converted-space"> </span>-------</p><p style="margin-bottom: 5px; font-size: 12px; font-family: Arial, arial; margin-top: 5px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><b>Sender</b><span class="Apple-converted-space"> </span>: Brady Eidson<<a href="mailto:beidson@apple.com">beidson@apple.com</a>></p><p style="margin-bottom: 5px; font-size: 12px; font-family: Arial, arial; margin-top: 5px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><b>Date</b><span class="Apple-converted-space"> </span>: 2014-06-20 06:52 (GMT+09:00)</p><p style="margin-bottom: 5px; font-size: 12px; font-family: Arial, arial; margin-top: 5px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><b>Title</b><span class="Apple-converted-space"> </span>: [webkit-dev] Updating HTML Gamepad support</p><div style="margin-bottom: 5px; font-size: 12px; font-family: Arial, arial; margin-top: 5px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"> <br class="webkit-block-placeholder"></div><span style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">Hi all,<span class="Apple-converted-space"> </span></span><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br></div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">As a pet project I’ve been pecking away at supporting the Gamepad API on Mac. You can follow along in<span class="Apple-converted-space"> </span><a href="https://bugs.webkit.org/show_bug.cgi?id=134076">https://bugs.webkit.org/show_bug.cgi?id=134076</a>.</div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br></div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">The first glaring thing I noticed is how out of date the current code is. The Gamepad code currently in the tree has gone over 3 years without any real development.</div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div><br></div><div>In the meantime the working draft for the Gamepad API [1] is much different than what’s in our tree. Also at least 1 other engine (Mozilla) has shipped support matching the newer API.</div></div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br></div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">I plan to completely break what’s currently in the tree in a non-backwards compatible way. Grep’ing the tree I conclude that this is okay because:</div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br></div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">- Only EFL and GTK have Gamepad support code</div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">- The code only supports in-process WebKit1</div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">- GTK has it disabled</div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">- EFL has it enabled, but has also committed to dropping WK1 support</div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br></div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">If I am wrong and somebody has a compelling reason to keep supporting the version of the API that exists in the tree today, please contact me here or in the bugzilla. *SOON*.</div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br></div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Thanks!</div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">~Brady</div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br></div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">[1] - <a href="http://www.w3.org/TR/gamepad/">http://www.w3.org/TR/gamepad/</a></div><div style="font-family: Arial, arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br></div><div style="margin-bottom: 5px; font-size: 12px; font-family: Arial, arial; margin-top: 5px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"> <br class="webkit-block-placeholder"></div><table id="confidentialsignimg" style="font-family: Arial, arial; letter-spacing: normal; orphans: auto; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><tbody><tr><td namo_lock="" style="margin-bottom: 5px; font-size: 9pt; font-family: Arial, arial; margin-top: 5px;"><p style="margin-bottom: 5px; font-size: 9pt; font-family: Arial, arial; margin-top: 5px;"><span><201406201129561_XOK0LK7C.gif></span></p></td></tr></tbody></table></div></blockquote></div><br></body></html>