Commit Graph

317 Commits

Author SHA1 Message Date
Leif Berg
c18db8d16e Update CMakeLists.txt
set min API version to WinXP
2013-09-27 14:13:45 -05:00
Ryan Pavlik
385ce79768 Handle Wii-U Nunchuks: nearly useless calibration data (0, 127, 0) 2013-09-26 17:11:09 -05:00
Ryan Pavlik
4b6094e031 Fix the "applyCalibration" function that does the joystick data mapping. 2013-09-26 17:11:08 -05:00
Ryan Pavlik
217949ca15 Print the calibration data for the nunchuk joystick in the example. 2013-09-26 17:11:08 -05:00
Leif Berg
b692edd958 added support to get X and Y values from nunchuck joystick 2013-09-26 17:11:08 -05:00
Jan Ciger
143b682b8e Don't redefine MS types
These types are not used in Wiiuse and conflict with MSVC 2012, because
that defines int_fast16_t as int (among other things).
2013-08-23 17:41:19 +02:00
Ryan Pavlik
a40a2301a1 Don't re-define WIN32_LEAN_AND_MEAN 2013-02-14 16:12:54 -06:00
Ryan Pavlik
34895eb210 Don't even mess with the CRT include dir if building with mingw 2013-02-14 16:09:33 -06:00
Ryan Pavlik
c60b58d644 Merge pull request #30 from lysannkessler/osx-refactor_sync-mplus
Synchronous motion plus init & OSX Refactoring.

Incorporates work by lysannkessler, janoc, and jscasallas.
2012-12-12 15:48:12 -08:00
Lysann Schlegel
ca0f10f7f7 add myself to the list of contributors :) 2012-12-12 21:28:08 +01:00
Lysann Schlegel
4b81f2a0a8 Merge remote-tracking branch 'upstream/osx-refactor_sync-mplus' into osx-refactor_sync-mplus 2012-12-12 20:59:34 +01:00
Lysann Schlegel
4f47a2edbe wiiuse_wait_report: WIIUSE_DEBUG instead of WIIUSE_WARNING for dropped reports 2012-12-12 20:58:58 +01:00
Ryan Pavlik
97ac193d56 Add on-screen help for the controls in the example. 2012-12-12 13:41:34 -06:00
Ryan Pavlik
2a7702c043 Fix spelling error caught with Codespell. 2012-12-12 12:02:28 -06:00
Ryan Pavlik
6dd3b40fc1 Update CMake modules.
Merge commit 'dd2c7e902aa095fd7844329e38bca7cd7c51e6d9' into osx-refactor_sync-mplus

Conflicts:
	cmake/FindWinHID.cmake
2012-12-12 11:29:17 -06:00
Ryan Pavlik
dd2c7e902a Squashed 'cmake/' changes from b0d0a58..cac13f1
cac13f1 Add CMakePackageConfigHelpers as a backported module from 2.8.10
44e17a5 Update help
92f9405 Add FindDirectShow from VRPN
a93bf46 Update FindVRPN
edf459d clean up some modules
0bf8b53 Update documentation/help
900ae37 Improvements to findcppdom
bcdd5ed Adrienne timecode generator finder
fc14864 IDLJ finder/script
5fa91d4 Finder for windows/platform SDK
835a160 Add module to find perl modules: pass them as components
7dc76c3 cleanup
38e2a0d Create a doc_open target to open html docs
e8de008 Improved directx finding
787900c Conditionally use libuuid for VPR22
1c73e35 Add a helper error message to findcppcheck.
9e8b357 Generate, rather than enumerate, juggler lib names.
d42ae48 Add another compiler flag for warnings.
911f522 Just a little cleanup.
a466ea5 Update help
30af184 Add two new scripts written for VR Juggler
09ccc48 Update VR Juggler finders for 3.0.1
f9a5b86 VR JuggLua is no longer unreleased research software - ditch the scary warning.
1adb75e Update GetGitRevisionDescription to handle new submodules a little better.
187b7b2 Add new FindViewPoint
d1ec683 Enhance FindOpenHaptics to handle 3.1
de68fc0 Restore some tabs that went missing
feb11f6 Improve GHOST finder.
b922e06 Update help
7ff9c53 Run cmake-bulk-decrufter.
0873f79 Merge branch 'jscasallas/master'
e2ec7cd Add helpful comment about use as submodule
2a42dc5 Simplify FindQVRPN.
8ddcb84 Windows compatibility for the pull request just merged
4fcc618 Merge pull request #6 from phire/cmake-modules
fa1ef4c Add additional versions of cppdom and gmtl.
7db0714 Regenerate help
39c0f2f Add find directinput
d2e2a74 Update copyright year
5c05172 Update module help
5b62638 Rename to UseMarkdown and add rename feature
f92055a Add markdown scripts (finding and targets)
00cefbe GetGitRevisionDescription: Search parent dirs for .git/
0fb259a New module: FindQVRPN.cmake
9616f6e Find jccl and vrjuggler plugins, and split between debug and release
4856978 Set WIIUSE_RUNTIME_LIBRARY in Wiiuse even not on Windows
d94b209 make FindWinHID work on MinGW.
4c110cb Fix copy-pasteo in findcppunit
8be460a fix doc typo
6a78da3 Handle other compilers better by using compiler ID
a90f87b Use compiler behavior, not identity, to decide what warning flags to use
f03d7a8 Properly check the various arguments to cppcheck rather than assume based on a few tests.
d3ffd8a get git revision more robustly
1fb0e41 update ghost fake stl to simplify header
6fbe007 No more checking the stdc++ version for openhaptics
db11bb9 make sure we actually link against HDU/HLU nested targets!
a6580e9 remove unused variables in test file
f4a26c5 update copyright
16a6266 fix dcubed nested target
ca5cd7a mark luac item as advanced
f131cbe actually use the jttk root dir specified
501dbb2 improve dcubed include dirs
ae8764f improve splitting osg plugins into debug and release

git-subtree-dir: cmake
git-subtree-split: cac13f1c3225555cec9ae06a1ba47baa8c90442a
2012-12-12 11:27:56 -06:00
Ryan Pavlik
2c2e47478a Slightly more tidy on the regular example 2012-12-10 14:17:00 -06:00
Ryan Pavlik
b3c0c390c4 Astyle the examples. 2012-12-10 14:16:45 -06:00
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
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
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 Kessler
866b124d35 fix Windows compilation, wiiuse_wait_report and wiiuse_probe_motion_plus 2012-12-08 19:04:27 +01:00
Lysann Schlegel
1df24b5c5a conditionally compile handshake_state field 2012-12-08 18:10:27 +01:00
Lysann Schlegel
f9f896e605 fix wiiuse_read on mac and windows 2012-12-08 18:00:31 +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
8a3354d11b OSX 10.6 compatibility 2012-12-08 13:11:36 +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
73a47857c9 lowercase SET_SOURCE_FILES_PROPERTIES cmake command 2012-12-08 10:55:01 +01:00
Brodie Blackburn
ae001a43b3 Check Bluetooth power state
Taken from http://cocoadev.com/wiki/FindingBluetoothAvailability

Conflicts:
	src/io_mac.m
2012-12-07 20:01:53 +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
Ryan Pavlik
330d3f3aab Merge pull request #20 from rpavlik/handshake-changes
Handshake/Expansion changes
2012-12-07 09:49:50 -08:00
Ryan Pavlik
7f191c629a Merge pull request #24 from eidorb/master
Check Bluetooth power state (Mac)
2012-12-07 09:47:14 -08:00
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
11466cd19d fix syntax for non-C99 mode 2012-11-15 10:59:17 +01:00
Lysann Schlegel
5a2b31afbe os_mac.h is not a source file to compile 2012-11-15 10:58:48 +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
7b13623d12 use the interrupt (data) channel as output channel on mac 2012-11-12 01:45:32 +01:00
Lysann Schlegel
4bf58ca73a remove obsolete pre-handshake propagate_event on mac 2012-11-12 00:37:27 +01:00
Lysann Schlegel
6aef04f375 fix mac send/receive debug output 2012-11-11 23:12:44 +01:00
Lysann Schlegel
83fc61d7b1 remove debug print when trying to read/write unconnected devices 2012-11-11 20:27:29 +01:00
Lysann Schlegel
61d26d509c stop wiiuseexample when all wiimotes are disconnected 2012-11-11 18:53:37 +01:00