Commit Graph

59 Commits

Author SHA1 Message Date
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
Diego Waxemberg
735a2e1a80 now changes screen resolution when selecting full screen mode 2013-12-12 22:49:34 -05:00
Diego Waxemberg
cd6e9615e3 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
81178ca997 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
ca9f6489a5 attempted to fix fullscreen issues on other OS’s 2013-12-12 18:42:40 -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
Diego Waxemberg
2935403046 Fixed the concurrent modification problem with the gamepad linked list 2013-12-11 22:05:38 -05:00
Aaron Neyer
7cf2d1a946 Add readme 2013-12-11 21:08:23 -05:00
Aaron Neyer
58117c17cd add in Ctrl-alt-shift-Q to quit, and do better edge detection 2013-12-11 20:46:04 -05:00
Diego Waxemberg
ac972194ab added support for PS3 controllers and fixed bug with reinitializing gamepad values 2013-12-10 23:09:38 -05:00
Diego Waxemberg
2954dec164 made fullscreen default 2013-12-10 16:24:12 -05:00
Cameron Gutman
62dd9887a2 Add build scripts and shared libraries for linux x64 2013-12-10 15:07:58 -05:00
Aaron Neyer
6f580b1666 added jinput libs 2013-12-10 14:22:45 -05:00
Diego Waxemberg
c8fe9f82a5 fixed typo that caused gamepad to not work properly 2013-12-10 01:09:06 -05:00
Diego Waxemberg
8e9d0f9844 now rescan for controllers and fixed the janky string comparisons to determine controller components 2013-12-09 22:54:32 -05:00
Diego Waxemberg
1e29b82d75 now have a checkbox to enable/disable fullscreen mode 2013-12-09 22:52:01 -05:00
Diego Waxemberg
1afe742c68 now ignore .DS_STORE 2013-12-09 14:44:52 -05:00
Diego Waxemberg
4c7be5fd64 added support for gamepads (known to work with xbox 360) 2013-12-09 14:43:34 -05:00
Diego Waxemberg
0cd47bf0dc stream frame now closes on errors. now show a progress bar when starting the stream. 2013-12-09 11:52:50 -05:00
Diego Waxemberg
4f3a311d60 now support all 3 mouse buttons. audio renderer no longer lags. app is now full screen 2013-12-08 16:24:47 -05:00
Diego Waxemberg
99efd2a720 added support for *almost* every key 2013-12-08 14:43:17 -05:00
Diego Waxemberg
3561eafa9a added support for mouse 2013-12-07 22:13:30 -05:00
Diego Waxemberg
dd04e02f86 added support for keyboard keys a-z 2013-12-07 21:22:52 -05:00
Diego Waxemberg
09cbf4f7f1 dat video and audio works 2013-12-07 20:02:01 -05:00