mirror of
git://soft.sys114.com/WiringPi2-Python
synced 2026-02-09 15:24:22 +09:00
Added C++ wrappers for some of the newer .h files
This commit is contained in:
@@ -33,5 +33,13 @@
|
||||
#define NES_B 0x40
|
||||
#define NES_A 0x80
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern int setupNesJoystick (int dPin, int cPin, int lPin) ;
|
||||
extern unsigned int readNesJoystick (int joystick) ;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user