Commit Graph
81 Commits
Author SHA1 Message Date
Diego Waxemberg 887b2ac8f7 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 890b8c8095 got rid of some copy pasta 2014-01-01 21:34:17 -05:00
Diego Waxemberg 633debeddd reimplemented the trigger checkbox 2014-01-01 21:34:00 -05:00
Diego Waxemberg 72b8da34af 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 e23e49920a Fixing errors when clicking checkboxes 2014-01-01 18:45:27 -05:00
Diego Waxemberg 00b54a201c Now close Limelight when the stream is stopped if launched from command line 2014-01-01 11:02:36 -05:00
Diego Waxemberg 38f83b6c52 added the ability to launch limelight via command line 2014-01-01 01:30:36 -05:00
Diego Waxemberg 261887e3c9 stop native gamepad when closing limelight 2013-12-30 23:26:14 -05:00
Diego Waxemberg 913078a5e9 now use NativeGamepad class 2013-12-30 23:24:30 -05:00
Diego Waxemberg 3e7da4473b removed all references to jinput and all jinput files 2013-12-30 22:56:40 -05:00
Diego Waxemberg fba61eb686 fixed an NPE when there wasn’t a mapping for a component 2013-12-30 22:39:29 -05:00
Diego Waxemberg db0eadf4d7 changed a poorly named variable 2013-12-30 22:19:09 -05:00
Diego Waxemberg 5396ce03ed rewrote gamepad stuff to not use JInput 2013-12-30 22:13:25 -05:00
Diego Waxemberg 60cfb25545 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 039370d0d0 new fix for rescanning gamepads 2013-12-30 00:34:09 -05:00
Diego Waxemberg 73d4721fc2 fixed memory leak caused by creating many DefaultControllerEnvironment objects 2013-12-29 22:56:12 -05:00
Diego Waxemberg 0bbc25e281 Fixed all the issues caused by merging 2013-12-29 13:40:59 -05:00
Diego Waxemberg fda7c3bc04 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 3fbaaca9eb fixed javadoc typo 2013-12-29 13:16:19 -05:00
Diego Waxemberg fdc2288d1e added javadoc to settings classes 2013-12-29 13:16:02 -05:00
Diego Waxemberg 2b7629398b Added javadoc to gamepad classes 2013-12-29 13:01:25 -05:00
Diego Waxemberg a2c1164450 added javadoc to input classes 2013-12-29 12:29:58 -05:00
Diego Waxemberg c61e24a8dc Added javadoc to the gui elements 2013-12-29 12:13:10 -05:00
Diego Waxemberg c0632f6999 Added javadoc to the audio/video binding classes 2013-12-29 11:53:16 -05:00
Diego Waxemberg 8e3390a7d5 added javadoc comments 2013-12-27 10:27:10 -05:00
Diego Waxemberg 2c3ed99a3a 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 bc79e1ee06 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 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
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
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
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
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
Diego Waxemberg 06a217da94 fixed xml version in build file 2013-12-15 14:32:37 -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
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
Diego Waxemberg 2935403046 Fixed the concurrent modification problem with the gamepad linked list 2013-12-11 22:05:38 -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
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
Diego Waxemberg 8da7290423 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 18ee201d5a 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 2c0fb8100b fixed gitignore 2013-12-05 10:22:28 -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