Commit Graph

12 Commits

Author SHA1 Message Date
Ryan Pavlik
f1b6c4ad2b Add missing include. 2012-12-10 14:14:07 -06:00
Ryan Pavlik
a86f33afa5 astyle on the library. 2012-12-10 14:13:58 -06:00
Lysann Schlegel
82080f9f37 we need to pass a single wiimote structure instead of the array to wiiuse_os_read 2012-12-09 10:31:17 +01:00
Lysann Schlegel
ca7c6127ac fix *nix compilation error 2012-12-09 00:44:50 +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
f2bf07c18c same interface for all wiiuse_os_read's 2012-12-08 21:38:36 +01:00
Lysann Schlegel
97513647de fix *nix function names for read and write 2012-12-08 20:39:12 +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
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
f0642ed028 fix os_nix.c stuff that broke during refactorings 2012-11-10 23:52:28 +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