Commit Graph
68 Commits
Author SHA1 Message Date
Cameron Gutman b8213276dc Fix analog stick axis overflow issue causing full positive axis input to invert on Xbox 360 controllers 2015-02-19 20:31:07 -05:00
Cameron Gutman 4c332d3199 Fix build.xml 2015-02-19 19:42:43 -05:00
Cameron Gutman 5b20f16d44 Reset the watch key after processing events. watckKey -> watchKey 2015-02-19 19:38:08 -05:00
Cameron Gutman 7f580a9cc0 Merge branch 'master' of github.com:cgutman/limelight-pi 2015-02-19 19:28:05 -05:00
Cameron Gutman a695b4f3e3 Correctly fetch more than one watcher event list 2015-02-19 19:27:29 -05:00
Cameron Gutman ff344cfc30 Add support for multiple controllers 2015-02-19 18:49:53 -05:00
Cameron Gutman 00fc94fc29 Use JCodec to do the SPS fixups so it can deal with changes to the SPS between GFE versions. GFE 2.1.4 made a slight change to the SPS which was enough to break the manual fixups (to a varying degree based on the resolution). 2014-12-29 15:14:00 -06:00
Cameron Gutman 599fb1bc30 Upgrade to BouncyCastle 1.5.1 and manually specify English locale to fix some locale-specific crashes (Arabic specifically) 2014-10-24 16:32:21 +02:00
Cameron Gutman 8a74bdbe10 Apply the debugging level before starting discovery to prevent info messages from showing up during discovery 2014-09-16 18:52:34 -07:00
Cameron Gutman 9fff8e9bd0 Fix MDNS PC discovery 2014-09-16 18:44:57 -07:00
Cameron Gutman fa85922840 Merge branch 'master' of github.com:irtimmer/limelight-embedded
Conflicts:
	src/com/limelight/input/EvdevHandler.java
2014-09-16 16:37:43 -07:00
Cameron Gutman 506eafbddc Optimize Evdev input by sending axis and controller events only after EV_SYN comes in. Implement support for vertical mouse scrolling. 2014-09-15 00:50:35 -07:00
Cameron Gutman ef1357477b Implement crypto provider and GFE 2.1 compatibility
Conflicts:
	.classpath
	libs/limelight-common.jar
	src/com/limelight/Limelight.java
	src/com/limelight/binding/PlatformBinding.java
2014-06-16 12:08:02 +02:00
Cameron Gutman 22138d000c Calculate a proper value for the sample buffer (48000 Hz * 2 bytes per sample * 2.5 ms) 2014-04-09 14:48:08 +02:00
Cameron Gutman 8c97f73f6a Fix several keys: - = [ ] \ ; ' , / 2014-04-09 14:46:50 +02:00
Cameron Gutman e0023226d4 Dynamically choose line buffer sizes on Pi to reduce audio lag 2014-01-12 20:47:30 -05:00
Cameron Gutman 36638895b8 Fix native library compilation target to remove absolute paths 2014-01-12 17:16:22 -05:00
Cameron Gutman 3a9788e4a5 Fix loading native libraries on OS X 2014-01-01 19:29:51 -05:00
Cameron Gutman 5aba138565 Extract AVC dependencies on all platforms 2014-01-01 15:58:53 -06:00
Cameron Gutman 584e4ce939 Fix unused import warnings 2014-01-01 15:34:07 -06:00
Cameron Gutman d99f0575f4 Log to a file if running from a JAR 2014-01-01 15:33:48 -06:00
Cameron Gutman 101632c967 Remove the native gamepad cleanup on application close. We don't want native code in the critical closing path because it could mean that the program can't be closed if someone chooses the wrong platform JAR. 2014-01-01 15:15:09 -06:00
Cameron Gutman eb94669abf Link the gamepad library to Xinput9_1_0.dll so the DirectX Runtime Installer isn't required for Vista and later 2014-01-01 15:13:30 -06:00
Cameron Gutman 46263b2de5 Update the readme 2013-12-31 07:37:06 -06:00
Cameron Gutman 3c3e5d8710 Add OS X build script and binary 2013-12-31 01:39:41 -05:00
Cameron Gutman 2b6bcec97e Fix return value of processEvents 2013-12-31 01:39:02 -05:00
Cameron Gutman d652b92ef0 Add linux gamepad library and build script 2013-12-31 01:20:36 -05:00
Cameron Gutman 52fd93792b Add prebuilt gamepad libraries for non-Windows platforms (stock 1.3.0) 2013-12-31 00:03:02 -06:00
Cameron Gutman e69c559d96 Oops, forgot the actual code... 2013-12-30 23:54:24 -06:00
Cameron Gutman f87a085a36 Add gamepad_jni code and libraries for Win32 and Win64 2013-12-30 23:53:56 -06:00
Cameron Gutman 77c3c23c64 Make SourceComponent serializable 2013-12-30 23:52:21 -06:00
Cameron Gutman 4e893bfc83 Fix another race in controller detection 2013-12-30 23:47:20 -06:00
Cameron Gutman b5cf425880 Fix controller detection race 2013-12-30 23:42:48 -06:00
Cameron Gutman 50e873fc4f Remove lin32 jar from build 2013-12-30 23:31:40 -06:00
Cameron Gutman 6952b1736e Access the Type enum through SourceComponent. Check the absolute value of the new value so negative works too. 2013-12-30 23:29:33 -06:00
Cameron Gutman d46a9b4dc0 Don't allow release of a running gamepad 2013-12-30 23:28:45 -06:00
Cameron Gutman 5b18616a21 Merge branch 'gamepad' of github.com:limelight-stream/limelight-pc into gamepad 2013-12-30 22:06:44 -06:00
Cameron Gutman 67e626c376 Initial NativeGamepad class 2013-12-30 22:06:16 -06:00
Cameron Gutman 8bd6a9d07f Merge branch 'master' of github.com:limelight-stream/limelight-pc 2013-12-30 12:13:10 -06:00
Cameron Gutman 17b811771c Add NativeGamepadListener 2013-12-30 12:12:53 -06:00
Cameron Gutman e70fb18828 Add D-Pad support for 360 controllers. Currently, the 360 D-Pad can only be mapped as D-Pad buttons. 2013-12-29 22:56:27 -06:00
Cameron Gutman 7206adc42c Terminate the stream when stream frame is closed 2013-12-29 22:00:15 -06:00
Cameron Gutman df65ac5b45 Fix consuming the remaining input events when mapping the gamepad. See GitHub issue 4 for details. 2013-12-29 19:21:33 -06:00
Cameron Gutman 331c6c9332 Fix library loading on Windows when not using a JAR 2013-12-28 20:05:38 -05:00
Cameron Gutman 668402c336 Delete the extracted libraries when Limelight terminates 2013-12-28 17:49:28 -05:00
Cameron Gutman 844060a4ee Write a better native library loader so DLLs are no longer extracted to the current directory on Windows. 2013-12-28 16:56:38 -05:00
Cameron Gutman fcbc80c05c Suppress log spam from jinput on Windows 8 and higher 2013-12-28 16:40:44 -05:00
Cameron Gutman 686e701602 Fix settings.lime being created as a directory. See GitHub issue 1 for details. 2013-12-27 12:27:29 -05:00
Cameron Gutman 9ea91af072 Use the stream's frame rate as the redraw rate instead of always refreshing at 30 FPS 2013-12-26 17:38:47 -05:00
Cameron Gutman 9c636c48fd Don't print stack traces for InterruptExceptions. Call the NvConnectionListener class to terminate the stream without causing the unexpected termination error dialog. 2013-12-26 16:11:42 -05:00
Cameron Gutman 238064437a Fix resolution changing on Windows. Improve the resolution selection algorithm. 2013-12-26 15:45:07 -05:00
Cameron Gutman 847c72c185 Merge branch 'audio-fix' 2013-12-26 14:55:00 -05:00
Cameron Gutman c2f5d1f4ba Only use the audio buffer hack on OS X 2013-12-21 16:21:52 -05:00
Cameron Gutman 01f7f3d780 Revert "Try to workaround Java's poor OS X mixer"
This reverts commit 8390d0bbd7.
2013-12-20 19:44:35 -05:00
Cameron Gutman 03b6abe694 Try to workaround Java's poor OS X mixer 2013-12-20 19:41:52 -05:00
Cameron Gutman 2d346d4128 Move audio buffering responsibility onto us and simply fill whatever the runtime gives us 2013-12-20 15:20:48 -05:00
Cameron Gutman 7e3556456d Read in larger chunks 2013-12-20 14:16:44 -05:00
Cameron Gutman 2292eec472 Extract native libraries to the current folder on Windows, so prebuilt jars can be run normally 2013-12-19 20:54:53 -05:00
Cameron Gutman 149cabe686 Use the StreamConfiguration class for managing the characteristics of StreamFrame 2013-12-19 04:33:33 -05:00
Cameron Gutman 3d2ae9e806 Fix X and Y scaling 2013-12-16 18:00:12 -05:00
Cameron Gutman 2a3211619d Terminate the controller listener thread when the connection is interrupted. Start the controller listener only after the connection is established. Call dispose() on a different thread since Swing doesn't like it when that's called on an interrupted thread. 2013-12-12 17:48:00 -05:00
Cameron Gutman 31cac7f6a2 Fix the renderer thread causing NvConnection.stop() to block forever. Remove the hack to workaround this bug. 2013-12-12 17:45:03 -05:00
Cameron Gutman e9a4b82267 Add a hack to work around dependency issues with Java's native library loader 2013-12-12 17:06:09 -05:00
Cameron Gutman 8b45d95d60 Make the JNI bindings compile on Windows 2013-12-12 17:05:40 -05:00
Cameron Gutman 62dd9887a2 Add build scripts and shared libraries for linux x64 2013-12-10 15:07:58 -05:00
Cameron Gutman 0f9d597386 Fix UI jank. Add support for pairing. Add missing XML parsing jar. 2013-12-05 19:10:24 -05:00
Cameron Gutman 78e3250949 Delete temp file 2013-12-05 18:13:44 -05:00
Cameron Gutman 751d601112 Rebase of limelight-pc off RenderScript-Renderer and Limelight-common 2013-12-05 18:12:22 -05:00