diff --git a/Externals/WiiUseSrc/Src/wiiuse.h b/Externals/WiiUseSrc/Src/wiiuse.h index afd58a1574..4f93da46ed 100644 --- a/Externals/WiiUseSrc/Src/wiiuse.h +++ b/Externals/WiiUseSrc/Src/wiiuse.h @@ -688,6 +688,7 @@ WIIUSE_EXPORT extern void wiiuse_disconnected(struct wiimote_t* wm); WIIUSE_EXPORT extern void wiiuse_cleanup(struct wiimote_t** wm, int wiimotes); WIIUSE_EXPORT extern void wiiuse_rumble(struct wiimote_t* wm, int status); WIIUSE_EXPORT extern void wiiuse_set_leds(struct wiimote_t* wm, int leds); +WIIUSE_EXPORT extern int wiiuse_write_data(struct wiimote_t* wm, unsigned int addr, byte* data, byte len); /* connect.c / io_win.c */ WIIUSE_EXPORT extern int wiiuse_find(struct wiimote_t** wm, int max_wiimotes, int timeout); diff --git a/Source/Plugins/Plugin_Wiimote/Src/SConscript b/Source/Plugins/Plugin_Wiimote/Src/SConscript index bcee1c2fa5..625593fceb 100644 --- a/Source/Plugins/Plugin_Wiimote/Src/SConscript +++ b/Source/Plugins/Plugin_Wiimote/Src/SConscript @@ -24,9 +24,7 @@ if wmenv['HAVE_WX']: files += [ "ConfigBasicDlg.cpp", "ConfigPadDlg.cpp", - "ConfigRecordingDlg.cpp", "ConfigGamepad.cpp", - "ConfigRecording.cpp", "FillReport.cpp", ] @@ -37,7 +35,6 @@ cxxflags = [ ] if wmenv['HAVE_WIIUSE']: libs += [ 'wiiuse' ] files += [ "wiimote_real.cpp" ] - files += [ "ReadWiimote.cpp" ] cxxflags += ['-DHAVE_WIIUSE'] wmenv.Append(