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

Agent-Based mostly AI Instruments Speed up Speculation Era and Lab Analysis Workflows

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

3 minutes ago

Google Is in Full-On Injury Management Over Its New Health App

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

8 minutes ago

TV networks, kick occasions introduced for 4 BYU soccer video games – BYU Athletics – Official Athletics Web site

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

15 minutes ago

Archives : Willy Ronis sequence : his pictures of Belleville and Ménilmontant

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

20 minutes ago

ASUS TUF RTX 5070 gaming laptop computer with 18-inch show going for beneath $1,500 with Newegg deal

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

37 minutes ago

Muck Diving Photography -Mustard’s Masterclass

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

42 minutes ago