Commit Graph

85 Commits

Author SHA1 Message Date
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
David
f5d0f90608 Rough Draft of Icon 2013-12-27 13:28:13 -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
Diego Waxemberg
e7e87825ad renamed gamepad config page, No longer shit bricks if the gamepad disconnects while trying to map. Now rescans for gamepads 2013-12-22 11:12:43 -05:00
Cameron Gutman
c2f5d1f4ba Only use the audio buffer hack on OS X 2013-12-21 16:21:52 -05:00
Diego Waxemberg
9f2fa09ef3 preferences now appear in the center 2013-12-21 00:08:41 -05:00
Diego Waxemberg
81c8a09385 fixed invert and trigger settings not being saved 2013-12-21 00:07:32 -05:00
Diego Waxemberg
f3f52f9616 fixed typo that broke right stick on gamepads 2013-12-20 23:30:31 -05:00
Diego Waxemberg
bef355487d fixed up gamepad mapping a bit. added options to invert and to act as a trigger 2013-12-20 23:13:18 -05:00
Diego Waxemberg
18c7d3c098 now remembers last used host 2013-12-20 20:57:21 -05:00
Diego Waxemberg
627efa15f8 added refresh rate to preferences 2013-12-20 20:49:47 -05:00
Diego Waxemberg
153d8b1db7 now use preferences to select resolution and fullscreen option 2013-12-20 20:22:51 -05:00
Diego Waxemberg
6ee852f3f0 Merge branch 'audio-fix' of github.com:limelight-stream/limelight-pc into audio-fix
# By Cameron Gutman
# Via Cameron Gutman
* 'audio-fix' of github.com:limelight-stream/limelight-pc:
  Revert "Try to workaround Java's poor OS X mixer"
  Try to workaround Java's poor OS X mixer
2013-12-20 19:52:37 -05:00
Diego Waxemberg
0e437dd819 dynamically increase the buffer size if we build up to large of a queue 2013-12-20 19:51:58 -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
Diego Waxemberg
840652aae5 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 jar
  Read in larger chunks
2013-12-20 16:55:37 -05:00
Diego Waxemberg
86d5eca367 added a menu item for preferences and created a framework for preferences
still requires some implementation before fully functional.
2013-12-20 16:55:30 -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
Diego Waxemberg
1f536d555a changed java 7 specific code to java 6 compatible 2013-12-20 13:54:01 -05:00
Diego Waxemberg
fd172d4e8e 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
ba0b84f9e5 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
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
Diego Waxemberg
43df4cf93e 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
6ea16c6283 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
7b46f3b7dd 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
c32d7a1c22 Work in progress: fixing gamepad to work on all OSs and be customizable 2013-12-19 17:31:14 -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
Diego Waxemberg
06a217da94 fixed xml version in build file 2013-12-15 14:32:37 -05:00
Aaron Neyer
fed46a2a49 move everything out of subdirectory 2013-12-15 14:13:32 -05:00
Diego Waxemberg
71aacf1305 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
23084fc21e fixed some formatting in the code 2013-12-13 14:32:53 -05:00
Diego Waxemberg
bc64f094ce 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
3147e34a5a scale the image to 16x9 2013-12-13 13:07:05 -05:00
Aaron Neyer
a6ed6e2233 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
e1b8926593 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
8c3b23e31c 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
d9122cb1ff host text box is now always selected regardless of OS 2013-12-13 01:52:18 -05:00
Diego Waxemberg
944d5dfeff no longer send keyboard events when holding down SHIFT + CTRL + ALT 2013-12-13 01:33:43 -05:00
Diego Waxemberg
5499c2cea5 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
ed1a0981f1 fixed mouse derpiness for realz this time 2013-12-12 23:36:07 -05:00
Diego Waxemberg
19bd9bfe80 fixed merge booch 2013-12-12 22:54:25 -05:00
Diego Waxemberg
1df2f60847 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