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

Methods to Fall Asleep Quicker and Keep Asleep, According to Experts

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

2 days ago

Oh. What. Fun. film overview & movie abstract (2025)

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

2 days ago

The Subsequent Gaming Development Is… Uh, Controllers for Your Toes?

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

2 days ago

Russia blocks entry to US youngsters’s gaming platform Roblox

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

2 days ago

AL ZORAH OFFERS PREMIUM GOLF AND LIFESTYLE PRIVILEGES WITH EXCLUSIVE 100 CLUB MEMBERSHIP

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

2 days ago

Treasury Targets Cash Laundering Community Supporting Venezuelan Terrorist Organization Tren de Aragua

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

2 days ago