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 Kessler
cfd8209c23
fix rumble flag and windows compiler warning
2012-12-08 22:44:48 +01:00
Lysann Schlegel
d7a5d77489
same interface for all wiiuse_os_write's
...
this also means we moved platform-sepcific write code into the wiiuse_os_write implementation of each platform.
2012-12-08 22:04:07 +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
f6bbdb199d
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
src/events.c
src/io_mac.m
2012-12-07 19:45:41 +01:00
Lysann Schlegel
7b13623d12
use the interrupt (data) channel as output channel on mac
2012-11-12 01:45:32 +01:00
Lysann Schlegel
6aef04f375
fix mac send/receive debug output
2012-11-11 23:12:44 +01:00
Lysann Schlegel
3b1d440f03
fix mac disconnection crash due to asynchronous operations
2012-11-11 18:44:31 +01:00
Lysann Schlegel
6f6ba68ed6
rename wiiuse_io_* to wiiuse_os_*
2012-11-10 13:38:05 +01:00
Ryan Pavlik
9f6e0cd2c0
De-duplication of wiiuse_read_data
2012-06-28 17:15:44 -05:00
Kevin M. Godby
c7bcd7aecd
Fixed a few spelling errors.
2012-02-18 00:46:16 -06:00
Juan Sebastian Casallas
1b25cd6289
Replace explicit 32 lengths for MAX_PAYLOAD
2012-01-16 18:34:38 -06:00
Jan Ciger
1c5bb6cb33
Removed unused variables
2011-09-15 01:32:09 +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
Ryan Pavlik
7dec48c44f
convert c++-style comments
2011-09-14 10:16:13 -05:00
Ryan Pavlik
c508e14935
clean up write_data_cb types
2011-09-14 10:14:57 -05:00
Ryan Pavlik
fa8662f781
fix pointer checking order
2011-09-14 10:14:57 -05:00
Ryan Pavlik
4ad1e56cdf
wiiuse_send_next_pending_write_request can call wiiuse_write_data
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
ee5f75c744
statically allocate storage for versionstring
2011-09-09 09:32:12 -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
b03f8acecf
fix visual studio build
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
8ae4146fd9
Fix for shutting off rumble, from Jeff Baker (Inv3rsion, LLC.)
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
43a2529be0
fix docs for new output redirector
2011-05-02 15:54:05 -05:00
Ryan Pavlik
ccabaadf46
check malloc results
2011-05-02 12:42:12 -05:00
Ryan Pavlik
6c7fb6f12f
improved platform definitions and definition checks
2011-05-02 10:32:26 -05:00
Ryan Pavlik
83a030ccd1
clean up redundant stdio.h includes
2011-04-28 09:56:23 -05:00
Ryan Pavlik
bfcb2fe94c
shuffle and clean up includes - builds on windows properly again
2011-04-28 09:49:39 -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
Johannes Zarl
ca4a38c31c
fix doc typo in wiiuse.c.
2011-04-27 08:33:27 -05:00
Ryan Pavlik
8eef1f89dc
Fix some crashes by checking pointers before deref
2010-11-11 15:11:27 -06:00
Ryan Pavlik
200778ed32
Modify credit statement to point to new location
2010-11-11 12:38:51 -06:00
Ryan Pavlik
dde5bb965a
Improve balance board, use stdint.h
2010-07-22 18:42:04 -05:00
Ryan Pavlik
24b1063e59
Upstream official 0.12
2010-07-22 16:29:25 -05:00