Skip to content

Instantly share code, notes, and snippets.

@DJm00n
Last active October 3, 2022 15:02
Show Gist options
  • Save DJm00n/7d45c40da9755f2d8b86cd2369754497 to your computer and use it in GitHub Desktop.
Save DJm00n/7d45c40da9755f2d8b86cd2369754497 to your computer and use it in GitHub Desktop.
Xbox Accesiories App
namespace Devices.Abstraction {
// {2C424946-00A9-47BB-BEB9-D7DCA5C7B7D1}
[Windows.Foundation.Metadata.Guid(742541638u, 169, 18363, 190, 185, 215, 220, 165, 199, 183, 209)]
public interface IHidControllerStatics
// {5B6949A8-F5E4-4264-8735-55CD757A8E44}
[Windows.Foundation.Metadata.Guid(1533626792u, 62948, 16996, 135, 53, 85, 205, 117, 122, 142, 68)]
public interface IHidController : IGameController
// {F1A36AA5-82AE-4C7B-A9DA-7A5BF6BD5213}
[Windows.Foundation.Metadata.Guid(4054018725u, 33454, 19579, 169, 218, 122, 91, 246, 189, 82, 19)]
public interface IGipControllerStatics
// {AAE22FB7-E167-4908-9A40-FF9C687FA986}
[Windows.Foundation.Metadata.Guid(2866950071u, 57703, 18696, 154, 64, 255, 156, 104, 127, 169, 134)]
public interface IGipController : IGameController
}
@DJm00n
Copy link
Author

DJm00n commented Oct 3, 2022

This is internal extensions to Windows.Gaming.Input.Custom that are used by Xbox Accesiories App.
We can try to use these interfaces to distinguish HID and GIP (Xbox One) game controllers from Windows.Gaming.Input Namespace.

TODO: still need to look for IXusbControllerStatics and IXusbController interface GUIDs (inside Windows.Gaming.Input.dll?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment