<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Emulating Xinput, what are the requirements?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120783/emulating-xinput-what-are-the-requirements</link><description>Hello, 
 I&amp;#39;m looking to get XInput working on the nRF52840 so that our device can appear as an Xbox-compatible game controller. I&amp;#39;d appreciate any guidance or recommendations on how to approach implementing a custom feature like this on the Nordic platform</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Mar 2026 23:56:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120783/emulating-xinput-what-are-the-requirements" /><item><title>RE: Emulating Xinput, what are the requirements?</title><link>https://devzone.nordicsemi.com/thread/563380?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2026 23:56:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ed15224-5b27-473f-a818-e665356deb56</guid><dc:creator>johnhsmith</dc:creator><description>&lt;p data-start="0" data-end="301"&gt;From what I&amp;rsquo;ve seen, the main challenge is that &lt;strong data-start="48" data-end="81"&gt;XInput isn&amp;rsquo;t an open standard&lt;/strong&gt;, so there&amp;rsquo;s no official public spec you can directly implement on something like the &lt;strong data-start="167" data-end="179"&gt;nRF52840&lt;/strong&gt;. Most&amp;nbsp;&lt;a href="https://sports-games.io/"&gt;&lt;span style="font-weight:400;"&gt;sports games&lt;/span&gt;&lt;/a&gt; Xbox-compatible devices either use Microsoft&amp;rsquo;s licensed hardware or emulate a standard &lt;strong data-start="273" data-end="292"&gt;USB HID gamepad&lt;/strong&gt; instead.&lt;/p&gt;
&lt;p data-start="303" data-end="634" data-is-last-node="" data-is-only-node=""&gt;If your goal is PC compatibility, a practical approach is to implement a &lt;strong data-start="376" data-end="406"&gt;USB HID controller profile&lt;/strong&gt; on the nRF52840. Windows will recognize it as a generic gamepad, and many games support that without requiring true XInput. Otherwise you&amp;rsquo;d likely need a translation layer or driver on the host side to map HID inputs to XInput.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Emulating Xinput, what are the requirements?</title><link>https://devzone.nordicsemi.com/thread/562411?ContentTypeID=1</link><pubDate>Tue, 03 Mar 2026 11:24:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1146cec-4d83-4fdc-892a-d2a4e357a2e4</guid><dc:creator>mariamartin</dc:creator><description>&lt;p&gt;This sounds like an exciting project! Implementing XInput on the nRF52840 could really enhance the gaming experience, especially for games like &lt;a href="https://driftboss2.io/"&gt;drift boss&lt;/a&gt; where precise controls are crucial.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Emulating Xinput, what are the requirements?</title><link>https://devzone.nordicsemi.com/thread/538501?ContentTypeID=1</link><pubDate>Sat, 07 Jun 2025 04:30:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7839940f-fdca-49cf-8c8c-1d3d820eb192</guid><dc:creator>alexanderduen</dc:creator><description>&lt;p&gt;Implementing XInput on the nRF52840 sounds like an exciting project! I recommend starting with the Nordic SDK and checking out their Bluetooth HID examples, as they can provide a solid foundation for your controller implementation. In my downtime, I enjoy playing &lt;a href="https://geoguessrfree.io/online" rel="noopener noreferrer" target="_blank"&gt;geoguessr free&lt;/a&gt;, which helps me unwind while keeping my mind sharp. Good luck with your development!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Emulating Xinput, what are the requirements?</title><link>https://devzone.nordicsemi.com/thread/536845?ContentTypeID=1</link><pubDate>Sun, 25 May 2025 08:32:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63b252c5-4943-4179-b72f-f22e54cca4ef</guid><dc:creator>blitz0145</dc:creator><description>&lt;p&gt;This is the repo- hope it helps anyone trying to implement Xinput with the Zephyr USB stack.&lt;br /&gt;&lt;a id="" href="https://github.com/blitzRahul/xinput-zephyr/"&gt;https://github.com/blitzRahul/xinput-zephyr/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The project still needs some cleanup and clarifications.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Emulating Xinput, what are the requirements?</title><link>https://devzone.nordicsemi.com/thread/533111?ContentTypeID=1</link><pubDate>Sun, 27 Apr 2025 16:54:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7af4f91-9849-48bc-9f88-5a804ee8c073</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;That was good news!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Emulating Xinput, what are the requirements?</title><link>https://devzone.nordicsemi.com/thread/532941?ContentTypeID=1</link><pubDate>Fri, 25 Apr 2025 05:08:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e10fb503-b072-4854-bf3a-f925374a5be7</guid><dc:creator>blitz0145</dc:creator><description>&lt;p&gt;Hi Kenneth, I went through all the docs and after a bit of experimentation I was able to get it to run.&lt;br /&gt;The only issue I experienced was with the custom Microsoft descriptor which isn&amp;#39;t standard USB spec.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll soon be writing a detailed blog on Xinput emulation and post it on Github for anyone else who comes across this ticket.&lt;br /&gt;&lt;br /&gt;I suggest letting this ticket be open for now.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll post the Github link on this thread soon and close it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Emulating Xinput, what are the requirements?</title><link>https://devzone.nordicsemi.com/thread/532438?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 19:43:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e652568-4117-463a-9421-e8d08a4b59b4</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I would expect you need to use one of the USB examples in the nRF Connect SDK, and then modify it to your needs:&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/zephyr/samples/subsys/usb/usb.html"&gt;https://docs.nordicsemi.com/bundle/ncs-2.9.0/page/zephyr/samples/subsys/usb/usb.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Likely one of the HID devices are the best starting point.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Emulating Xinput, what are the requirements?</title><link>https://devzone.nordicsemi.com/thread/532393?ContentTypeID=1</link><pubDate>Tue, 22 Apr 2025 13:51:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8a473ee-e405-4e50-9234-e1d60d490d69</guid><dc:creator>blitz0145</dc:creator><description>&lt;p&gt;I&amp;#39;m very sorry- the description of the problem is very lacking.&lt;br /&gt;Here&amp;#39;s an updated description:&lt;br /&gt;&lt;br /&gt;This is precisely the interface I would like to implement- more details can be read at&amp;nbsp; &lt;a href="https://github.com/inputlabs/alpakka_firmware/blob/main/src/headers/tusb_config.h#L118"&gt;github.com/.../tusb_config.h&lt;/a&gt;&lt;br /&gt;&lt;img style="height:353px;max-height:353px;max-width:224px;" alt=" " height="276" src="https://devzone.nordicsemi.com/resized-image/__size/448x706/__key/communityserver-discussions-components-files/4/pastedimage1745329615981v2.png" width="223" /&gt;&lt;br /&gt;&lt;br /&gt;All TinyUSB code makes complete sense in the repository mentioned above- I just cannot wrap my head around Zephyr&amp;#39;s USB stack.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I would like to know:&lt;br /&gt;1. Is there a demo of TinyUSB working with the NRF Connect SDK ecosystem?&lt;br /&gt;2. Is there a good example on Github I can use to understand Zephyr&amp;#39;s USB stack?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>