Commit Graph
84 Commits
Author SHA1 Message Date
Diego Waxemberg e69a9ee87a Merge branch 'master' of github.com:limelight-stream/limelight-pc
# By Cameron Gutman
# Via Cameron Gutman
* 'master' of github.com:limelight-stream/limelight-pc:
  Add fixed Linux 64-bit libraries
  Fix loading native libraries on OS X
2014-01-01 21:34:27 -05:00
Diego Waxemberg 648f7d2b8f got rid of some copy pasta 2014-01-01 21:34:17 -05:00
Diego Waxemberg c219ed8e25 reimplemented the trigger checkbox 2014-01-01 21:34:00 -05:00
Diego Waxemberg 1f2ace1414 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 AVC dependencies on all platforms
  Fix unused import warnings
  Log to a file if running from a JAR
  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.
  Link the gamepad library to Xinput9_1_0.dll so the DirectX Runtime Installer isn't required for Vista and later
2014-01-01 18:45:36 -05:00
Diego Waxemberg a79ff3b33e Fixing errors when clicking checkboxes 2014-01-01 18:45:27 -05:00
Diego Waxemberg f175a5e78a Now close Limelight when the stream is stopped if launched from command line 2014-01-01 11:02:36 -05:00
Diego Waxemberg ba6e09576a added the ability to launch limelight via command line 2014-01-01 01:30:36 -05:00
Diego Waxemberg 34847b1318 stop native gamepad when closing limelight 2013-12-30 23:26:14 -05:00
Diego Waxemberg f2b62e0b55 now use NativeGamepad class 2013-12-30 23:24:30 -05:00
Diego Waxemberg 87d278ab11 removed all references to jinput and all jinput files 2013-12-30 22:56:40 -05:00
Diego Waxemberg ad84363f60 fixed an NPE when there wasn’t a mapping for a component 2013-12-30 22:39:29 -05:00
Diego Waxemberg 1cc581089d changed a poorly named variable 2013-12-30 22:19:09 -05:00
Diego Waxemberg 9f3e48f34b rewrote gamepad stuff to not use JInput 2013-12-30 22:13:25 -05:00
Diego Waxemberg 178883b320 Merge branch 'master' of github.com:limelight-stream/limelight-pc
# By Cameron Gutman
# Via Cameron Gutman
* 'master' of github.com:limelight-stream/limelight-pc:
  Add D-Pad support for 360 controllers. Currently, the 360 D-Pad can only be mapped as D-Pad buttons.
  Terminate the stream when stream frame is closed
2013-12-30 00:36:06 -05:00
Diego Waxemberg 75f854e8eb new fix for rescanning gamepads 2013-12-30 00:34:09 -05:00
Diego Waxemberg 355952783c fixed memory leak caused by creating many DefaultControllerEnvironment objects 2013-12-29 22:56:12 -05:00
Diego Waxemberg f043a505ea Fixed all the issues caused by merging 2013-12-29 13:40:59 -05:00
Diego Waxemberg 6b06df4b82 Merge branch 'master' of github.com:limelight-stream/limelight-pc
# By Cameron Gutman (15) and others
# Via Cameron Gutman (2) and Diego Waxemberg (1)
* 'master' of github.com:limelight-stream/limelight-pc:
  Update common jar
  Fix library loading on Windows when not using a JAR
  Delete the extracted libraries when Limelight terminates
  Update common jar
  Write a better native library loader so DLLs are no longer extracted to the current directory on Windows.
  Suppress log spam from jinput on Windows 8 and higher
  Rough Draft of Icon
  Fix settings.lime being created as a directory. See GitHub issue 1 for details.
  Update limelight-common jar
  Use the stream's frame rate as the redraw rate instead of always refreshing at 30 FPS
  Don't print stack traces for InterruptExceptions. Call the NvConnectionListener class to terminate the stream without causing the unexpected termination error dialog.
  Fix resolution changing on Windows. Improve the resolution selection algorithm.
  Only use the audio buffer hack on OS X
  dynamically increase the buffer size if we build up to large of a queue
  Revert "Try to workaround Java's poor OS X mixer"
  Try to workaround Java's poor OS X mixer
  Move audio buffering responsibility onto us and simply fill whatever the runtime gives us

Conflicts:
	src/com/limelight/Limelight.java
	src/com/limelight/binding/audio/JavaxAudioRenderer.java
	src/com/limelight/gui/StreamFrame.java
2013-12-29 13:24:22 -05:00
Diego Waxemberg daba6cd805 fixed javadoc typo 2013-12-29 13:16:19 -05:00
Diego Waxemberg 248864a604 added javadoc to settings classes 2013-12-29 13:16:02 -05:00
Diego Waxemberg f892a32a78 Added javadoc to gamepad classes 2013-12-29 13:01:25 -05:00
Diego Waxemberg adb36093e4 added javadoc to input classes 2013-12-29 12:29:58 -05:00
Diego Waxemberg eb123ee6ca Added javadoc to the gui elements 2013-12-29 12:13:10 -05:00
Diego Waxemberg 9bf6e95e0b Added javadoc to the audio/video binding classes 2013-12-29 11:53:16 -05:00
Diego Waxemberg 1501d45534 added javadoc comments 2013-12-27 10:27:10 -05:00
Diego Waxemberg 7d646e32f0 Removed deprecated method and renamed some classes. Created a new package to separate gamepad classes from keyboard/mouse classes 2013-12-27 10:08:31 -05:00
Diego Waxemberg eccd3468ed changed gamepad preferences a bunch
- no longer have ControllerComponent provide the swing elements
- renamed GamepadMapping methods to make more sense
- GamepadConfigFrame now uses a grid layout and has some nice borders
2013-12-24 18:59:07 -05:00
Diego Waxemberg 518b686991 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
Diego Waxemberg 4d40a30589 preferences now appear in the center 2013-12-21 00:08:41 -05:00
Diego Waxemberg 93ad7149ed fixed invert and trigger settings not being saved 2013-12-21 00:07:32 -05:00
Diego Waxemberg 2a55c68de5 fixed typo that broke right stick on gamepads 2013-12-20 23:30:31 -05:00
Diego Waxemberg 260b882239 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 3420f28da8 now remembers last used host 2013-12-20 20:57:21 -05:00
Diego Waxemberg d5de62e1e0 added refresh rate to preferences 2013-12-20 20:49:47 -05:00
Diego Waxemberg a3e3290937 now use preferences to select resolution and fullscreen option 2013-12-20 20:22:51 -05:00
Diego Waxemberg 261c3c71d4 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 caa3297906 dynamically increase the buffer size if we build up to large of a queue 2013-12-20 19:51:58 -05:00
Diego Waxemberg 5d4fb24e26 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 97febbb8d9 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
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
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
Diego Waxemberg 99a2a53163 fixed xml version in build file 2013-12-15 14:32:37 -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
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
Diego Waxemberg 300122c04f Fixed the concurrent modification problem with the gamepad linked list 2013-12-11 22:05:38 -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
Diego Waxemberg 9001944619 fixed typo that caused gamepad to not work properly 2013-12-10 01:09:06 -05:00
Diego Waxemberg cc349c65b8 now rescan for controllers and fixed the janky string comparisons to determine controller components 2013-12-09 22:54:32 -05:00
Diego Waxemberg 566e96560a now have a checkbox to enable/disable fullscreen mode 2013-12-09 22:52:01 -05:00
Diego Waxemberg 7478160d45 now ignore .DS_STORE 2013-12-09 14:44:52 -05:00
Diego Waxemberg 231180cbe5 added support for gamepads (known to work with xbox 360) 2013-12-09 14:43:34 -05:00
Diego Waxemberg b7f98f6636 updated the common jar 2013-12-09 11:56:58 -05:00
Diego Waxemberg b59e6b6100 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 88aae77921 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 a7c357a67f added support for *almost* every key 2013-12-08 14:43:17 -05:00
Diego Waxemberg 150d372213 added support for mouse 2013-12-07 22:13:30 -05:00
Diego Waxemberg f1984f08b7 added support for keyboard keys a-z 2013-12-07 21:22:52 -05:00
Diego Waxemberg 6e17ab3c2b dat video and audio works 2013-12-07 20:02:01 -05:00
Diego Waxemberg 293f22b889 now only fixes menu stuff on osx so it doesn't break on other oses 2013-12-05 21:35:22 -05:00
Diego Waxemberg 2e11b28db5 stream frame is now built. frames are now created centered. now show appname on osx instead of com.limelight.limelight 2013-12-05 21:31:02 -05:00
Diego Waxemberg 1b41aeb425 fixed gitignore 2013-12-05 10:22:28 -05:00
Diego Waxemberg 9104c4f420 added opus binary 2013-12-05 10:18:25 -05:00
Diego Waxemberg 2eb1035286 added files from limelight from android 2013-12-03 23:53:12 -05:00
Diego Waxemberg e4894b71f4 created project 2013-11-28 06:07:30 -05:00
Diego Waxemberg 26ad469679 initial commit 2013-11-28 05:45:02 -05:00