Lysann Schlegel
7b6e621064
Merge branch 'osx-refactor' of github.com:lysannkessler/wiiuse into osx-refactor
2012-11-15 11:00:24 +01:00
Lysann Schlegel
156d89ab16
fix *nix compilation
2012-11-15 10:54:17 +01:00
Lysann Schlegel
2e830fa6fa
fix Windows compilation
2012-11-12 11:27:40 +01:00
Lysann Schlegel
ad79a2ff53
fix motion plus handshake on mac by disabling expansion handshake while motion plus handshake is being done
2012-11-12 01:56:34 +01:00
Lysann Schlegel
71569818e5
make wiimote_poll a platform-specific function, move implementations to os_*.c/os_mac.m
2012-11-10 13:56:06 +01:00
Lysann Schlegel
6f6ba68ed6
rename wiiuse_io_* to wiiuse_os_*
2012-11-10 13:38:05 +01:00
Lysann Schlegel
f1c7a7712b
delete mac implementation, replace by stub; reorganize platform-specific code
2012-11-10 13:06:49 +01:00
Lysann Schlegel
f7b4fd44a0
fix mac expansion handshake by propagating the event on receive
2012-11-10 00:52:05 +01:00
Ryan Pavlik
84fb39dcb3
Add some debug messages
2012-06-28 16:17:37 -05:00
Kevin M. Godby
c7bcd7aecd
Fixed a few spelling errors.
2012-02-18 00:46:16 -06:00
Jan Ciger
ce9e1b6156
added forgotten Balance board support
2012-01-16 13:35:44 -06:00
Juan Sebastian Casallas
240ef2f3f9
events.c: Clear event buffer after propagating in Mac
...
-The line was previously commented-out
-Even if the instruction is not vital, uncommenting it makes mac polling consistent with unix and windows polling
2011-11-30 19:27:20 +01:00
Juan Sebastian Casallas
d9e72fe730
Change scope of propagate_event for use in io_mac.m
...
-propagate_event was static in events.c
-io_mac.m uses propagate_event when receiving data before finishing the handshake
2011-11-22 23:29:49 +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
3c9cfdf656
Renamed variables to something more descriptive, removed unused code
2011-09-15 01:29:43 +02:00
Ryan Pavlik
446731114c
remove #if 0 code.
2011-09-14 14:51:50 -05:00
Ryan Pavlik
61f1e7e18d
add comments from include-what-you-use
2011-09-14 10:34:12 -05:00
Jan Ciger
9ae7f37396
Added expansion detection from fWiine
...
Added gyro rate calculations & calibrations from WiiC
Conflicts:
src/events.c
src/io.c
src/motion_plus.c
src/wiiuse_internal.h
2011-09-14 10:34:04 -05: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
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
ae19b72724
add missing include
2011-09-07 10:43:21 -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
8e78f9b649
improve all includes using iwyu
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
8f07f7a480
Remove unneeded comments and c++-style comment
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
3f0aeb98fd
disconnect fully if we lose connection.
2011-05-02 15:53:53 -05:00
Ryan Pavlik
b438352690
Initialize all of an array
2011-05-02 12:41:38 -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
Ryan Pavlik
dde5bb965a
Improve balance board, use stdint.h
2010-07-22 18:42:04 -05:00
Ryan Pavlik
1cea14c661
Merge in slightly fixed version of the delft changes
2010-07-22 17:08:55 -05:00
Ryan Pavlik
24b1063e59
Upstream official 0.12
2010-07-22 16:29:25 -05:00