Ryan Pavlik
a40a2301a1
Don't re-define WIN32_LEAN_AND_MEAN
2013-02-14 16:12:54 -06:00
Ryan Pavlik
a86f33afa5
astyle on the library.
2012-12-10 14:13:58 -06:00
Lysann Schlegel
a4e3140274
now swap WIIUSE_SYNC_HANDSHAKE usages again
2012-12-08 23:01:32 +01:00
Lysann Schlegel
f2bf07c18c
same interface for all wiiuse_os_read's
2012-12-08 21:38:36 +01:00
Lysann Schlegel
72647a56b1
remove the event_buf from the wiimote structure, allocating it on demand instead
2012-12-08 20:34:13 +01:00
Lysann Schlegel
1df24b5c5a
conditionally compile handshake_state field
2012-12-08 18:10:27 +01:00
Lysann Schlegel
4244bf6c66
Merge remote-tracking branch 'upstream/sync-mplus' into osx-refactor_sync-mplus
...
Conflicts:
src/events.c
src/io.c
src/io.h
src/io_mac.m
src/os_nix.c
src/wiiuse_internal.h
2012-12-08 17:59:47 +01:00
Lysann Schlegel
43e8a27fcc
no need to include mac IOBluetoothUserLib.h in wiiuse.h
2012-12-08 11:04:28 +01:00
Lysann Schlegel
61d26d509c
stop wiiuseexample when all wiimotes are disconnected
2012-11-11 18:53:37 +01:00
Lysann Schlegel
a39cfd4374
move most of the wiiuse mac implementation into WiiuseWiimote* object
2012-11-10 20:59:42 +01:00
Lysann Schlegel
7d9c82f604
implement wiiuse_os_connect for mac
2012-11-10 19:19:53 +01:00
Lysann Schlegel
b68c03efd7
implement wiiuse_os_find for mac
2012-11-10 16:22:00 +01:00
Lysann Schlegel
f1c7a7712b
delete mac implementation, replace by stub; reorganize platform-specific code
2012-11-10 13:06:49 +01:00
Ryan Pavlik
ab67501959
don't need much of windows.h, just a little.
2012-05-01 19:14:02 -05:00
Kevin M. Godby
c7bcd7aecd
Fixed a few spelling errors.
2012-02-18 00:46:16 -06:00
Juan Sebastian Casallas
e8126a1dca
Update headers on io_mac, wiiuse and wiiuse_internal
...
-These are mostly copyright and consistency issues
-On io_mac.h/m prepended "based on io_mac.h/m from WiiC," to "written by: Gabiele Randelli"
and specified the files as part of wiiuse instead
of wiiC.
-On wiiuse.h and wiiuse_internal.h gave credit to WiiC
and Gabiele Randelli for Mac-specific class codes
and wiimote_t members
2011-11-23 00:04:02 +01:00
Juan Sebastian Casallas
257b94659d
Add io_mac files from wiic, update wiiuse definitions
...
-Used io_mac.h/.m from wiic and added them to CMakeLists
-Define WIIUSE_MAC on wiiuse.h and wiiuse_internal.h
-Implemented wiiuse_poll when WIIUSE_MAC is defined
-Added Mac-specific includes to wiiuse.h and wiiuse_internal.h
-Added Mac-specific members to wiimote_t on wiiuse.h
-Added Mac-specific WM_DEV_CLASS definitions to wiiuse_internal.h
-Modified wiiuse_poll for use with Mac
-Added init and cleanup functions to io_mac.m
2011-11-22 23:13:40 +01:00
Jan Ciger
1c5bb6cb33
Removed unused variables
2011-09-15 01:32:09 +02:00
Jan Ciger
3c9cfdf656
Renamed variables to something more descriptive, removed unused code
2011-09-15 01:29:43 +02:00
Jan Ciger
80e8fa37ac
cleanup
...
Conflicts:
src/events.c
src/io.c
src/wiiuse.c
src/wiiuse.h
2011-09-14 10:33:59 -05:00
Jan Ciger
9b5ef23276
More fWiine merging
...
Conflicts:
src/events.c
src/motion_plus.c
src/wiiuse.h
2011-09-14 10:33:54 -05:00
Jan Ciger
541cbb5156
Merged stuff from fWiine, Wiiuse master and local Motion+ modifs, not working yet
...
Dos2unix and unexpanded, then selectively committed by rpavlik
2011-09-14 10:33:43 -05:00
Ryan Pavlik
c508e14935
clean up write_data_cb types
2011-09-14 10:14:57 -05:00
Ryan Pavlik
e8d2be3601
Unix line endings and remove trailing spaces
2011-09-14 10:14:57 -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
1e85c72ce9
Merge static library support from paulburton
2011-09-09 09:38:20 -05:00
Ryan Pavlik
7bec38254e
wiiuse write data can take const byte
2011-09-07 10:43:21 -05:00
Ryan Pavlik
3b70a17bc7
add missing include
2011-09-07 08:29:37 -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
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
311700e7dc
documentation for balance board
2011-05-02 13:48:01 -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
Ryan Pavlik
3c8a0d715a
change way of defining WCONST so internal workings aren't as visible in the public API
2011-04-28 10:23:16 -05:00
Ryan Pavlik
f853261785
apparently visual studio 2010's stdint.h isn't all it's cracked up to be.
2011-04-28 10:22:14 -05:00
Ryan Pavlik
17f4a2b555
workaround stdint header should not be in angle brackets
2011-04-28 09:48:40 -05:00
Ryan Pavlik
b949546225
handle the msvc stdint.h header differently (better)
2011-04-27 15:12:08 -05:00
Ryan Pavlik
4d6b5a5b05
improve doxygen mainpage
2011-04-27 12:23:40 -05:00
Ryan Pavlik
96fe3ae298
Add links to main page
2011-04-27 11:00:53 -05:00
Johannes Zarl
4829592601
Add support for redirecting or disabling messages from stdout to elsewhere.
...
The newly introduced procedure wiiuse_set_output can be used to set the FILE*
used for each of the loglevels LOGLEVEL_ERROR, LOGLEVEL_WARNING, LOGLEVEL_INFO,
and LOGLEVEL_DEBUG. Setting the logfile to 0 disables log output for a
loglevel. This adds the macro definition WIIUSE_HAS_OUTPUT_REDIRECTION, so
programs can test for the feature.
The internal log macros in definitions.h all honor this output redirection mechanism.
2011-04-27 08:33:36 -05:00
Ryan Pavlik
2432d5c867
Update version and changelog
2010-11-11 15:13:36 -06:00
Ryan Pavlik
41cbbd4191
Improve header comments
2010-11-11 12:42:14 -06:00
Ryan Pavlik
5bb30e7109
Remove extraneous version define
2010-11-11 12:38:42 -06:00
Ryan Pavlik
af86d2fd09
Remove redundant define
2010-11-11 12:37:44 -06:00
Ryan Pavlik
a374be29de
Add version defines, feature defines to wiiuse.h
2010-11-11 12:20:04 -06:00
Ryan Pavlik
dde5bb965a
Improve balance board, use stdint.h
2010-07-22 18:42:04 -05:00