-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Original Xbox controller implementation based on xid_driver from Ryze…
…e119/ogx360_t4
- Loading branch information
1 parent
0bf8037
commit 115bc73
Showing
24 changed files
with
1,013 additions
and
2 deletions.
There are no files selected for viewing
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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#pragma once | ||
|
||
#include <stdint.h> | ||
#include "xid_driver.h" | ||
|
||
#define XboxOriginalReport USB_XboxGamepad_InReport_t | ||
|
||
static const uint8_t xboxoriginal_string_language[] = { 0x09, 0x04 }; | ||
static const uint8_t xboxoriginal_string_manufacturer[] = ""; | ||
static const uint8_t xboxoriginal_string_product[] = ""; | ||
static const uint8_t xboxoriginal_string_version[] = "1.0"; | ||
|
||
static const uint8_t *xboxoriginal_string_descriptors[] __attribute__((unused)) = | ||
{ | ||
xboxoriginal_string_language, | ||
xboxoriginal_string_manufacturer, | ||
xboxoriginal_string_product, | ||
xboxoriginal_string_version | ||
}; | ||
|
||
static const uint8_t *xboxoriginal_device_descriptor = (const uint8_t*)&XID_DESC_DEVICE; | ||
|
||
static const uint8_t *xboxoriginal_configuration_descriptor = (const uint8_t*)&XID_DESC_CONFIGURATION; |
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 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 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 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
Oops, something went wrong.