This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Information for device Controller (VID=0x045E PID=0x028E): | |
Connection Information: | |
------------------------------ | |
Device current bus speed: FullSpeed | |
Device supports USB 1.1 specification | |
Device supports USB 2.0 specification | |
Device address: 0x000F | |
Current configuration value: 0x01 | |
Number of open pipes: 7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!-- | |
DualSense (DS5) USB HID Report Descriptor | |
Documentation WIP | |
TODO: Extract info from hid-playstation and cross-verify with us. | |
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// cl.exe xbox_test.c /link setupapi.lib user32.lib | |
#include <windows.h> | |
#include <setupapi.h> | |
#include <dbt.h> | |
#include <stdio.h> | |
/// interface | |
#define XBOX_MAX_CONTROLLERS 16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This function calls the JNI routine DefineClass for each class in the | |
// in-memory class table (see java-classes.h). The class loader parameter passed | |
// to define class is the result of calling ClassLoader.getSystemClassLoader(). | |
jthrowable java_load_classes() | |
{ | |
JNIEnv *environment; | |
jclass class_loader; | |
jmethodID get_system_loader; | |
jobject system_loader; | |
jthrowable exception; |