Categories: Gadgets

New Windows Gaming Handheld Code Samples Launched

This web page was created programmatically, to learn the article in its authentic location you possibly can go to the hyperlink bellow:
https://developer.microsoft.com/en-us/games/articles/2025/07/windows-gaming-handheld-code-samples/
and if you wish to take away this text from our website please contact us


Today, Microsoft is releasing samples to supply examples & training materials that builds on our checklist for games on Windows handhelds. These samples present finest practices and code examples that may be built-in into your video games when contemplating Windows gaming handheld eventualities.

This Handheld Experience Best Practices launch contains two samples, a native C++ pattern and a Unity managed C# sample. Both present an identical set of finest practices round learn how to leverage APIs to handle your video games handheld expertise simply. These embody examples demonstrating learn how to: 

  • Determine if a tool is a handheld.
  • Determine if a tool is working battery energy, charging or utilizing exterior energy.
  • Look up machine particular properties, together with built-in show properties.
  • Handle DPI modifications and scale UI accordingly.
  • Leverage Virtual Keyboards for textual content entry.
  • Look up community gadgets & varieties.
  • Determine community and Bluetooth connectivity.
  • Handle enter from Gamepad, Keyboard and Mouse.
  • Determine enter modality (i.e. newest enter machine used).

These samples will proceed to be up to date as Windows enhancements are made which are useful to Windows handheld gaming eventualities and as we collect suggestions from recreation builders who construct for these gadgets.

To purchase these samples, please see:

For extra on handheld recreation improvement, you should definitely take a look at our Xbox Handheld Gaming Developer Resource Hub.


This web page was created programmatically, to learn the article in its authentic location you possibly can go to the hyperlink bellow:
https://developer.microsoft.com/en-us/games/articles/2025/07/windows-gaming-handheld-code-samples/
and if you wish to take away this text from our website please contact us

fooshya

Share
Published by
fooshya

Recent Posts

How a photographer who shoots caravans and snooker golf equipment landed reward from Robert Plant – and an exhibition inside a heritage museum

This web page was created programmatically, to learn the article in its authentic location you…

1 minute ago

Trump’s DOJ Is Reportedly Investigating Gavin Newsom’s Journey Funding – Mother Jones

This web page was created programmatically, to learn the article in its authentic location you…

9 minutes ago

First impressions: Relay Q push-to-talk microphone

This web page was created programmatically, to learn the article in its unique location you…

12 minutes ago

Grey KARHU Aria 95 Life-style Sneakers

This web page was created programmatically, to learn the article in its unique location you…

19 minutes ago

I woke as much as a bear cub pulling at my sleeping bag – after which its mom and sister arrived…

This web page was created programmatically, to learn the article in its unique location you'll…

22 minutes ago

New fleet of battery electrical trains guarantees quicker, extra dependable UK journey

This web page was created programmatically, to learn the article in its authentic location you…

30 minutes ago