Commit Graph

72 Commits

Author SHA1 Message Date
Cameron Gutman 8390d0bbd7 Try to workaround Java's poor OS X mixer 2013-12-20 19:41:52 -05:00
Cameron Gutman 83747e501d Move audio buffering responsibility onto us and simply fill whatever the runtime gives us 2013-12-20 15:20:48 -05:00
Cameron Gutman 8625e9c402 Update limelight-common jar 2013-12-20 15:14:35 -05:00
Cameron Gutman ac568e47ed Read in larger chunks 2013-12-20 14:16:44 -05:00
Diego Waxemberg 75052bd188 changed java 7 specific code to java 6 compatible 2013-12-20 13:54:01 -05:00
Diego Waxemberg f50ba654b3 Merge branch 'master' of github.com:limelight-stream/limelight-pc
# By Cameron Gutman
# Via Cameron Gutman
* 'master' of github.com:limelight-stream/limelight-pc:
  Extract native libraries to the current folder on Windows, so prebuilt jars can be run normally

Conflicts:
	src/com/limelight/Limelight.java
2013-12-20 13:03:46 -05:00
Diego Waxemberg 6d2f7cfcb0 more gamepad changes
- now have a menu bar to access settings
- now handle user input to assign mappings
- fixed some typos
- now properly shutdown controller threads on exit
- renamed GamepadSettings to GamepadMapping
- created a lock to ensure we do not add/remove gamepads from the list while we are handling their events
- fixed settings directory booch
2013-12-20 13:00:30 -05:00
Cameron Gutman efeeb22cc6 Extract native libraries to the current folder on Windows, so prebuilt jars can be run normally 2013-12-19 20:54:53 -05:00
Diego Waxemberg c414fca5af more gamepad stuff
- now have settings files
- now read/write gamepad settings to file
- now map button/axis for gamepads
2013-12-19 20:31:33 -05:00
Diego Waxemberg 0885b876d5 more controller stuff
-new controller listener to be a singleton thread that listens for controller input even when not streaming, then sends input when streaming.\
-main frame will stop controller listener when closing
-gamepads should now use the gamepad config settings (WIP)
2013-12-19 18:57:33 -05:00
Diego Waxemberg 8ac4f534db Merge branch 'master' of github.com:limelight-stream/limelight-pc
# By Cameron Gutman
# Via Cameron Gutman
* 'master' of github.com:limelight-stream/limelight-pc:
  Update limelight-common with socket buffering fixes
  Update limelight-common jar
  Use the StreamConfiguration class for managing the characteristics of StreamFrame
  Fix X and Y scaling
2013-12-19 17:31:35 -05:00
Diego Waxemberg 2ef77aae4a Work in progress: fixing gamepad to work on all OSs and be customizable 2013-12-19 17:31:14 -05:00
Cameron Gutman e52bb392f0 Update limelight-common with socket buffering fixes 2013-12-19 14:54:08 -05:00
Cameron Gutman 07c298a5f5 Update limelight-common jar 2013-12-19 04:46:34 -05:00
Cameron Gutman bd488e14e3 Use the StreamConfiguration class for managing the characteristics of StreamFrame 2013-12-19 04:33:33 -05:00
Cameron Gutman 7f5a7a3fd3 Fix X and Y scaling 2013-12-16 18:00:12 -05:00
Diego Waxemberg 99a2a53163 fixed xml version in build file 2013-12-15 14:32:37 -05:00
Aaron Neyer 8ed0d6d161 move everything out of subdirectory 2013-12-15 14:13:32 -05:00
Diego Waxemberg 0d8fe8c197 created ant build file using one-jar to create a runnable jar for all platforms 2013-12-15 14:03:35 -05:00
Diego Waxemberg 5be4dbc77c fixed some formatting in the code 2013-12-13 14:32:53 -05:00
Diego Waxemberg 33223b3438 graphics are now drawn in the center of the frame regardless of frame size and scaling 2013-12-13 13:27:54 -05:00
Aaron Neyer dd366b2e62 scale the image to 16x9 2013-12-13 13:07:05 -05:00
Aaron Neyer 5fc3487317 Merge branch 'master' of github.com:limelight-stream/limelight-pc
* 'master' of github.com:limelight-stream/limelight-pc:
  Drop audio samples if buffer space is not available to preserve real-time audio behavior
2013-12-13 12:44:45 -05:00
Aaron Neyer 5f42d3a2ff Support more resolutions
Now find the smallest resolution available that is still greater than
1280x720.

Resolutions that aren't exactly 1280x720 are still slightly broken
because they don't scale or center.
2013-12-13 12:44:01 -05:00
Diego Waxemberg 277fa53ec1 Drop audio samples if buffer space is not available to preserve real-time audio behavior 2013-12-13 12:26:46 -05:00
Diego Waxemberg 495258338a host text box is now always selected regardless of OS 2013-12-13 01:52:18 -05:00
Diego Waxemberg 648c8ec456 no longer send keyboard events when holding down SHIFT + CTRL + ALT 2013-12-13 01:33:43 -05:00
Diego Waxemberg 954aecf877 this seems to have fixed the audio latency, need to check on other systems
I read that OSX requires the larges buffer size so this should be plenty for other systems as well. However, I did notice
that making the buffer any larger caused a negative effect in terms of latency.
2013-12-13 00:22:35 -05:00
Diego Waxemberg 50fb8a44cb fixed mouse derpiness for realz this time 2013-12-12 23:36:07 -05:00
Diego Waxemberg e32e0004b4 fixed merge booch 2013-12-12 22:54:25 -05:00
Diego Waxemberg ab6ef93eeb Merge branch 'master' of github.com:limelight-stream/limelight-pc
* 'master' of github.com:limelight-stream/limelight-pc:
  holding CTRL + ALT + SHIFT will now release the mouse. Also fixed mouse re-centering issue (i believe cannot test for sure on my system)

Conflicts:
	limelight-pc/src/com/limelight/gui/StreamFrame.java
2013-12-12 22:52:35 -05:00
Diego Waxemberg c7a087c14a now changes screen resolution when selecting full screen mode 2013-12-12 22:49:34 -05:00
Diego Waxemberg c8235da7bb holding CTRL + ALT + SHIFT will now release the mouse. Also fixed mouse re-centering issue (i believe. I cannot test for sure on my system) 2013-12-12 22:49:07 -05:00
Diego Waxemberg 89e07e63ef holding CTRL + ALT + SHIFT will now release the mouse. Also fixed mouse re-centering issue (i believe cannot test for sure on my system) 2013-12-12 19:45:35 -05:00
Diego Waxemberg af3369ec5c attempted to fix fullscreen issues on other OS’s 2013-12-12 18:42:40 -05:00
Cameron Gutman 600a21e66a Update jar to limelight-common 29e27a 2013-12-12 18:13:45 -05:00
Cameron Gutman a800913cfa 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 c51659f50c 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 df495537fa Restructure the library directory with folders for different OS and architecture combinations. Add Win32 and Win64 libraries. 2013-12-12 17:13:51 -05:00
Cameron Gutman 0d06ce274c Add a hack to work around dependency issues with Java's native library loader 2013-12-12 17:06:09 -05:00
Cameron Gutman 9c33c46fc6 Make the JNI bindings compile on Windows 2013-12-12 17:05:40 -05:00
Diego Waxemberg 300122c04f Fixed the concurrent modification problem with the gamepad linked list 2013-12-11 22:05:38 -05:00
Aaron Neyer 3c25765b9a Add readme 2013-12-11 21:08:23 -05:00
Aaron Neyer e4a58c6a32 add in Ctrl-alt-shift-Q to quit, and do better edge detection 2013-12-11 20:46:04 -05:00
Diego Waxemberg 2396df3613 added support for PS3 controllers and fixed bug with reinitializing gamepad values 2013-12-10 23:09:38 -05:00
Diego Waxemberg d6d8475091 added osx libraries to libs 2013-12-10 17:16:13 -05:00
Diego Waxemberg 2edbde06ee made fullscreen default 2013-12-10 16:24:12 -05:00
Cameron Gutman ad5d7cad23 Add build scripts and shared libraries for linux x64 2013-12-10 15:07:58 -05:00
Aaron Neyer b02a3c1f28 added jinput libs 2013-12-10 14:22:45 -05:00
Diego Waxemberg 9001944619 fixed typo that caused gamepad to not work properly 2013-12-10 01:09:06 -05:00