GameInput porting guide
The functionality of GameInput
is a superset of all previous input APIs. As a result, porting from a previous input API is, in most cases, a straightforward process. The biggest changes usually derive from GameInput
being input-centric rather than device-centric. Code that uses previous APIs typically enumerates input devices before reading their input. In GameInput
, however, this isn't necessary. Adapting to the input-centric model of GameInput
usually makes up most of any structural changes to previous code that will be ported.
The following topics provide details about the differences between GameInput
and the previous input APIs. These topics also include code examples that highlight the biggest differences among the APIs.
Porting from Windows.Xbox.Input to GameInput
Describes porting from Windows.Xbox.Input
in the original Xbox One Software Development Kit.
Porting from XInput to GameInput
Describes porting from XInput
.