Commit Graph

115 Commits

Author SHA1 Message Date
Cameron Gutman e2d5837f84 Add NativeGamepadListener 2013-12-30 12:12:53 -06:00
Cameron Gutman 21c84415db Add D-Pad support for 360 controllers. Currently, the 360 D-Pad can only be mapped as D-Pad buttons. 2013-12-29 22:56:27 -06:00
Cameron Gutman 86049b860e Terminate the stream when stream frame is closed 2013-12-29 22:00:15 -06:00
Diego Waxemberg 355952783c fixed memory leak caused by creating many DefaultControllerEnvironment objects 2013-12-29 22:56:12 -05:00
Cameron Gutman 07e39a6525 Fix consuming the remaining input events when mapping the gamepad. See GitHub issue 4 for details. 2013-12-29 19:21:33 -06: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
Cameron Gutman 20a71edf21 Update common jar 2013-12-29 02:50:24 -05:00
Cameron Gutman e8eb6297e0 Fix library loading on Windows when not using a JAR 2013-12-28 20:05:38 -05:00
Cameron Gutman a265f94d09 Delete the extracted libraries when Limelight terminates 2013-12-28 17:49:28 -05:00
Cameron Gutman bddd1c10e8 Update common jar 2013-12-28 17:00:02 -05:00
Cameron Gutman fe92144e43 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 bb90e182d4 Suppress log spam from jinput on Windows 8 and higher 2013-12-28 16:40:44 -05:00
David c576e183eb Rough Draft of Icon 2013-12-27 13:28:13 -05:00
Cameron Gutman f61c471d7d Fix settings.lime being created as a directory. See GitHub issue 1 for details. 2013-12-27 12:27:29 -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
Cameron Gutman e132da5030 Update limelight-common jar 2013-12-27 00:42:36 -05:00
Cameron Gutman d4995a1f27 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 9d24f8be14 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 e2a466f7cb Fix resolution changing on Windows. Improve the resolution selection algorithm. 2013-12-26 15:45:07 -05:00
Cameron Gutman e5ffb7fc75 Merge branch 'audio-fix' 2013-12-26 14:55:00 -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
Cameron Gutman 78f48b26b0 Only use the audio buffer hack on OS X 2013-12-21 16:21:52 -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
Cameron Gutman 958e9a3c72 Revert "Try to workaround Java's poor OS X mixer"
This reverts commit 8390d0bbd7.
2013-12-20 19:44:35 -05:00
Cameron Gutman 8390d0bbd7 Try to workaround Java's poor OS X mixer 2013-12-20 19:41:52 -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
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