f9bde94210Comment out decryption in nunchuk - needed to work with a simulated Nunchuk.
Ryan Pavlik
2012-06-28 16:50:40 -05:00
2f6901cde3Only move from WIIMOTE_STATE_EXP_HANDSHAKE to WIIMOTE_STATE_EXP if the expansion's handshake code was successful.
Ryan Pavlik
2012-06-28 16:26:30 -05:00
3d21a25822Make disable_expansion reset expansion state to 0.
Ryan Pavlik
2012-06-28 16:24:50 -05:00
e8a7ad62fcIf no handshake data received from the expansion, disable it.
Ryan Pavlik
2012-06-28 16:23:56 -05:00
713456b563In expansion handshake, read data after saying we'd like it.
Ryan Pavlik
2012-06-28 16:23:10 -05:00
abf13bae58Add debug display of joystick calibration data.
Ryan Pavlik
2012-06-28 16:21:57 -05:00
c800a049dcUse the right sqrt for floats in C.
Ryan Pavlik
2012-06-28 16:21:18 -05:00
29e5fabeacUse atan2f instead of atan and weird adjustments.
Ryan Pavlik
2012-06-28 16:21:02 -05:00
2db3dd3a03Factor out the application of a two-domain mapping ('calibration').
Ryan Pavlik
2012-06-28 16:19:31 -05:00
84fb39dcb3Add some debug messages
Ryan Pavlik
2012-06-28 16:17:37 -05:00
ab67501959don't need much of windows.h, just a little.
Ryan Pavlik
2012-05-01 19:14:02 -05:00
434e53592aA little warning cleanup
Ryan Pavlik
2012-05-01 19:13:48 -05:00
3ad3c396beMerge pull request #18 from godbyk/spellcheck
Ryan Pavlik
2012-02-20 13:06:52 -08:00
c7bcd7aecdFixed a few spelling errors.
Kevin M. Godby
2012-02-18 00:46:16 -06:00
47da0f6e10Merge pull request #15 from jscasallas/master
Juan Sebastian Casallas
2012-01-16 21:12:42 -08:00
e9f9b0a842CHANGELOG: Reference added Mac support
Juan Sebastian Casallas
2012-01-16 23:08:22 -06:00
3590fc1b92README: Remove the "if unable to write, then relaunch" issue on Mac
Juan Sebastian Casallas
2012-01-16 22:48:05 -06:00
5cfa33a8a8[mac] Reopen outputChannel on wiiuse_io_write failure
Juan Sebastian Casallas
2012-01-16 21:40:16 -06:00
5ed42458f3[mac]wiiuse_io_read: Add buffer and length parameters
Juan Sebastian Casallas
2012-01-16 21:31:54 -06:00
aef7ec45f8motion_plus.c: Revise some includes
Juan Sebastian Casallas
2012-01-16 19:24:15 -06:00
ddc645e125pre-declare wiiuse_motion_plus on motion_plus.h
Juan Sebastian Casallas
2012-01-16 19:21:41 -06:00
1b25cd6289Replace explicit 32 lengths for MAX_PAYLOAD
Juan Sebastian Casallas
2012-01-16 18:34:38 -06:00
2e347bc523Changed the initial handshake to be synchronous Made the Motion+ init a lot more robust Code cleanup
Jan Ciger
2012-01-15 04:43:09 +01:00
ce9e1b6156added forgotten Balance board support
Jan Ciger
2012-01-15 04:41:44 +01:00
0bfebc4565Merge pull request #11 from jscasallas/wiic_mac
Ryan Pavlik
2011-11-30 14:30:21 -08:00
240ef2f3f9events.c: Clear event buffer after propagating in Mac
Juan Sebastian Casallas
2011-11-30 19:27:20 +01:00
87eba20df3README.mkd: Update contributors and add Mac usage
Juan Sebastian Casallas
2011-11-21 02:04:31 +01:00
b208c940dfexample-sdl: include correct OpenGL and GLUT headers in Mac
Juan Sebastian Casallas
2011-11-22 21:24:38 +01:00
e8126a1dcaUpdate headers on io_mac, wiiuse and wiiuse_internal
Juan Sebastian Casallas
2011-11-23 00:02:26 +01:00
d9e72fe730Change scope of propagate_event for use in io_mac.m
Juan Sebastian Casallas
2011-11-21 00:04:15 +01:00
257b94659dAdd io_mac files from wiic, update wiiuse definitions
Juan Sebastian Casallas
2011-11-22 20:37:49 +01:00
a46c91049eRe-structure top of readme, adding mailing list and bug tracker
Ryan Pavlik
2011-11-22 14:33:01 -06:00
bc205d42b7update changelog to mention m+ example
Ryan Pavlik
2011-10-03 08:26:07 -05:00
7b9edd0d2eMerge remote-tracking branch 'janoc/janoc-mplus-rebased'
Ryan Pavlik
2011-10-03 08:22:45 -05:00
1141a9cf62added demo for Motion+
Jan Ciger
2011-10-02 19:22:27 +02:00
e053dae20aMerge remote-tracking branch 'origin/motionplus'
Ryan Pavlik
2011-09-27 17:28:52 -05:00
bbc706b5f7Merge pull request #7 from janoc/janoc-mplus-rebased
Ryan Pavlik
2011-09-27 15:24:41 -07:00
97768bf63cAdded documentation
Jan Ciger
2011-09-15 02:31:49 +02:00
5be24736b0Added section on Motion+ in known issues
Jan Ciger
2011-09-15 02:30:09 +02:00
1c5bb6cb33Removed unused variables
Jan Ciger
2011-09-15 01:32:09 +02:00
3c9cfdf656Renamed variables to something more descriptive, removed unused code
Jan Ciger
2011-09-15 01:29:43 +02:00
446731114cremove #if 0 code.
Ryan Pavlik
2011-09-14 14:51:50 -05:00
60570ea8d3update changelog to mention windows improvement
Ryan Pavlik
2011-09-14 13:03:36 -05:00
f7b198e0e6Remove old encrypted expansion codes - no longer needed
Ryan Pavlik
2011-09-14 13:02:41 -05:00
e1fcc8266cmore IWYU include comments
Ryan Pavlik
2011-09-14 13:02:30 -05:00
a1883ee160Add Jan Ciger to changelog and readme
Ryan Pavlik
2011-09-14 12:15:25 -05:00
61f1e7e18dadd comments from include-what-you-use
Ryan Pavlik
2011-09-14 10:30:06 -05:00
ea793369f6Fix mingw build
Ryan Pavlik
2011-09-14 09:25:00 -05:00
44dcb16c58Windows compilation fixes
Jan Ciger
2011-09-12 12:42:43 +02:00
9ae7f37396Added expansion detection from fWiine Added gyro rate calculations & calibrations from WiiC
Jan Ciger
2011-09-14 09:12:33 -05:00
80e8fa37accleanup
Jan Ciger
2011-09-14 09:04:58 -05:00
9b5ef23276More fWiine merging
Jan Ciger
2011-09-14 08:59:48 -05:00
541cbb5156Merged stuff from fWiine, Wiiuse master and local Motion+ modifs, not working yet
Jan Ciger
2011-09-14 08:51:23 -05:00
7dec48c44fconvert c++-style comments
Ryan Pavlik
2011-09-14 10:16:13 -05:00
c508e14935clean up write_data_cb types
Ryan Pavlik
2011-09-06 16:08:19 -05:00
b68452d98euse endianness function in motion_plus
Ryan Pavlik
2011-09-02 16:17:49 -05:00
c51ce2893euse tidier datatypes in motionplus
Ryan Pavlik
2011-09-02 16:17:37 -05:00
fa8662f781fix pointer checking order
Ryan Pavlik
2011-09-02 16:13:16 -05:00
4ad1e56cdfwiiuse_send_next_pending_write_request can call wiiuse_write_data
Ryan Pavlik
2011-09-02 16:13:05 -05:00
07385dd993update contributors list
Ryan Pavlik
2011-09-02 15:24:59 -05:00
298b4d93d1update changelog
Ryan Pavlik
2011-09-02 15:20:01 -05:00
e8d2be3601Unix line endings and remove trailing spaces
Ryan Pavlik
2011-09-02 15:15:04 -05:00
93593c2766improve all includes using iwyu
Ryan Pavlik
2011-09-02 15:16:04 -05:00
24f8ed947amark up motion plus for doxygen
Ryan Pavlik
2011-09-02 15:12:07 -05:00
2b8a079d8finclude ir.h
Ryan Pavlik
2011-08-31 10:45:34 -05:00
fc20f53713add license note to motion_plus.h
Ryan Pavlik
2011-08-31 10:45:08 -05:00
73f575a89eadd some prototypes to headers as needed by motion_plus
Ryan Pavlik
2011-08-31 10:45:30 -05:00
d4a6061ce6cleanup trailing spaces
Ryan Pavlik
2011-08-31 10:44:52 -05:00
c2077708fbre-organize and cleanup motion_plus includes
Ryan Pavlik
2011-08-31 10:44:10 -05:00