add host/device_info example

This commit is contained in:
hathach
2024-06-18 12:52:32 +07:00
parent 007a8bd46d
commit f93eb40b1d
11 changed files with 479 additions and 128 deletions

View File

@@ -23,10 +23,6 @@
*
*/
/* This example current worked and tested with following controller
* - Sony DualShock 4 [CUH-ZCT2x] VID = 0x054c, PID = 0x09cc
*/
#include <stdlib.h>
#include <stdio.h>

View File

@@ -23,8 +23,8 @@
*
*/
#ifndef _TUSB_CONFIG_H_
#define _TUSB_CONFIG_H_
#ifndef TUSB_CONFIG_H_
#define TUSB_CONFIG_H_
#ifdef __cplusplus
extern "C" {
@@ -118,4 +118,4 @@
}
#endif
#endif /* _TUSB_CONFIG_H_ */
#endif