Commit Graph

94 Commits

Author SHA1 Message Date
Ryan Pavlik
d4a6061ce6 cleanup trailing spaces 2011-09-14 10:14:56 -05:00
Ryan Pavlik
c2077708fb re-organize and cleanup motion_plus includes 2011-09-14 10:14:56 -05:00
Radu Andries
1a9293ab29 Added initial support for Motion Plus from fork http://sourceforge.net/projects/fwiine/files/wiiuse/0.13/ 2011-09-14 10:14:56 -05:00
Ryan Pavlik
adbc96318b banish all c++-style comments 2011-09-14 09:42:00 -05:00
Ryan Pavlik
9763c37525 a little spacing cleanup 2011-09-14 09:36:20 -05:00
Ryan Pavlik
ddeed643db move "BUILDING" definition into the library's subdir 2011-09-09 09:43:46 -05:00
Ryan Pavlik
3788697c5e Add static lib support to cmake 2011-09-09 09:42:35 -05:00
Ryan Pavlik
1e85c72ce9 Merge static library support from paulburton 2011-09-09 09:38:20 -05:00
Ryan Pavlik
ee5f75c744 statically allocate storage for versionstring 2011-09-09 09:32:12 -05:00
Ryan Pavlik
3e4edb3905 make sure we stay in float-land for wiiboard 2011-09-09 09:32:12 -05:00
Ryan Pavlik
c58e7d1271 move variable creation to beginning of function, fixing splint parse error 2011-09-09 09:32:06 -05:00
Ryan Pavlik
9f2f92eb6f cast malloc results 2011-09-07 10:43:21 -05:00
Ryan Pavlik
ae19b72724 add missing include 2011-09-07 10:43:21 -05:00
Ryan Pavlik
5a60180cfa move IR block data to be static in ir.cpp, and adjust get_ir_sens accordingly 2011-09-07 10:43:21 -05:00
Ryan Pavlik
7bec38254e wiiuse write data can take const byte 2011-09-07 10:43:21 -05:00
Ryan Pavlik
7e295eb944 move some platform-specific code out of the main wiiuse source
Initializing and cleaning up platform-specific fields in the wiimote
structure is now done in a separate routine.
2011-09-07 10:43:21 -05:00
Ryan Pavlik
da52f94619 fix two "address of temporary" warnings 2011-09-07 10:15:39 -05:00
Ryan Pavlik
b03f8acecf fix visual studio build 2011-09-07 08:41:33 -05:00
Ryan Pavlik
35aa954855 fix inline for visual studio 2011-09-07 08:41:33 -05:00
Ryan Pavlik
8af6229665 put in extern "C" in case we build as c++ 2011-09-07 08:41:33 -05:00
Ryan Pavlik
f9584f7f67 add missing prototype in case of mingw 2011-09-07 08:41:33 -05:00
Ryan Pavlik
5caac95793 capitalization of include and library 2011-09-07 08:41:33 -05:00
Ryan Pavlik
d92a38adee add doxygen info for buffering functions 2011-09-07 08:41:33 -05:00
Ryan Pavlik
a9550ab9f0 change how the bluetooth address is set up on nix
Committing changes from dolphin-emu's wiiuse 0.13
2011-09-07 08:41:33 -05:00
Ryan Pavlik
7c45e68198 Typecast malloc results.
Committing changes from dolphin-emu's wiiuse 0.13
Conflicts:

	src/classic.c
	src/events.c
	src/nunchuk.c
2011-09-07 08:41:33 -05:00
Ryan Pavlik
44612529a7 try using endianness conversion functions instead of icky macros 2011-09-07 08:41:33 -05:00
Ryan Pavlik
74975b80e7 use the wiiuse_millisleep function in ir. 2011-09-07 08:39:38 -05:00
Ryan Pavlik
9cc64c51b1 Add a wiiuse_millisleep function. 2011-09-07 08:39:38 -05:00
Ryan Pavlik
8ae4146fd9 Fix for shutting off rumble, from Jeff Baker (Inv3rsion, LLC.) 2011-09-07 08:29:37 -05:00
Ryan Pavlik
95cb6aa0ae Unix line endings and remove trailing spaces 2011-09-07 08:29:37 -05:00
Ryan Pavlik
8e78f9b649 improve all includes using iwyu 2011-09-07 08:29:37 -05:00
Ryan Pavlik
3b70a17bc7 add missing include 2011-09-07 08:29:37 -05:00
Ryan Pavlik
751ad356f7 add some prototypes to headers 2011-09-07 08:29:24 -05:00
Ryan Pavlik
b0d506d433 Renaming WiimoteState_t to wiimote_callback_data_t 2011-06-20 10:16:43 -05:00
Ryan Pavlik
3ae8ff0139 Make the return value of wiiuse_update match that of wiiuse_poll 2011-06-17 10:34:33 -05:00
Ryan Pavlik
8f07f7a480 Remove unneeded comments and c++-style comment 2011-06-17 10:34:33 -05:00
Ryan Pavlik
c10ae6bcba Re-organize and comment the new functionality 2011-06-17 10:34:33 -05:00
Ryan Pavlik
ba5ac5e822 Add modifications from bhartsho (for easier python binding) 2011-06-17 10:34:19 -05:00
Ryan Pavlik
800a6c385b Bump version for release 2011-05-02 15:56:41 -05:00
Ryan Pavlik
43a2529be0 fix docs for new output redirector 2011-05-02 15:54:05 -05:00
Ryan Pavlik
3f0aeb98fd disconnect fully if we lose connection. 2011-05-02 15:53:53 -05:00
Ryan Pavlik
311700e7dc documentation for balance board 2011-05-02 13:48:01 -05:00
Ryan Pavlik
0ebc6b70fb saturate the interpolated balance data 2011-05-02 13:47:52 -05:00
Ryan Pavlik
9666e7a930 Fix reading of balance board data 2011-05-02 13:47:39 -05:00
Ryan Pavlik
ccabaadf46 check malloc results 2011-05-02 12:42:12 -05:00
Ryan Pavlik
b438352690 Initialize all of an array 2011-05-02 12:41:38 -05:00
Ryan Pavlik
32a5ba307a clean up linking on windows 2011-05-02 11:37:55 -05:00
Ryan Pavlik
e8853ee660 Make the error nicer when you don't have an adapter plugged in. 2011-05-02 10:38:50 -05:00
Ryan Pavlik
6c7fb6f12f improved platform definitions and definition checks 2011-05-02 10:32:26 -05:00
Ryan Pavlik
51674ce9de improve doxygen output. 2011-05-02 10:05:45 -05:00