Commit Graph

102 Commits

Author SHA1 Message Date
Maschell
a7575238e1 First commit 2017-04-23 13:25:43 +02:00
Maschell
70b5da2206 Added Rumble support (currently XInput only), changed protocol version, code cleanup
Updated the code conventions.xml!
2017-04-13 15:32:55 +02:00
Maschell
f5f1d42d1b Minor code clean up 2017-04-13 11:23:02 +02:00
Ash
b94ed1cc9a [Linux] Add warning for users without required udev rule 2017-04-13 13:47:56 +10:00
Ash
29fe7917a0 [OSX] Change filtering behavior, GUI fix
Opening a mouse turns it off for whatever reason. This can be hard to
deal with on a mouse-based OS like OSX.
2017-04-13 13:33:09 +10:00
Ash
61c7cb31a2 Add filtering for XInput devices 2017-04-13 13:08:27 +10:00
Ash
39e8459840 Show VID/PIDs to user 2017-04-13 13:00:35 +10:00
Ash
db27368d31 [Build] Stop Maven's complaining 2017-04-13 12:11:04 +10:00
Ash
0d9b6cdad3 Linux controller filtering and improvements 2017-04-13 12:03:35 +10:00
Ash
9399f9f42e Merge pull request #12 from QuarkTheAwesome/gui
Polish up HID-related GUI things; controller filtering; Options dialog
2017-04-13 11:45:08 +10:00
Ash
63815a3fdd Try to show the name of a HID (if possible) 2017-04-12 21:50:32 +10:00
Ash
3917dbbb0c Avoid showing filters that don't work on a given platform
(cough Windows cough)
2017-04-12 21:44:42 +10:00
Ash
725d23de72 Differentiate usagePage and usageID, fix whitespace bugs 2017-04-12 21:32:17 +10:00
Ash
fdf74a0f55 Basic functionality for Info tab 2017-04-12 17:15:38 +10:00
Ash
a73873e96d Code cleanup, center Options button 2017-04-12 16:21:43 +10:00
Ash
dd9386f0ed Move auto-scan/activate checkboxes into Options window 2017-04-12 16:18:12 +10:00
Ash
d56b344a88 Center Options window 2017-04-12 15:57:32 +10:00
Ash
2a6d61aef5 More GUI work - borders, polish 2017-04-12 15:47:22 +10:00
Ash
fe8398a4c8 Finish up - HID controller filtering backend done 2017-04-12 15:36:36 +10:00
Ash
24bdf92bbc Basic device filtering backend stuff 2017-04-11 20:31:04 +10:00
Ash
a43a45857a Controller filtering GUI stuff (no functionality yet) 2017-04-11 19:48:05 +10:00
Ash
0b2b1777b5 Finish basic InfoTab 2017-04-11 19:10:08 +10:00
Ash
a33c5b5720 Basic functionality 2017-04-11 18:59:20 +10:00
Ash
8bc119d715 Basic window; not much in it yet 2017-04-11 18:59:20 +10:00
Maschell
2e70f2c801 Version bump to 0.3 2017-04-10 17:36:05 +02:00
Maschell
8197db4d86 Updated the TCP Handshake to also negotiate a protocol version. +Formatting etc. 2017-04-10 15:43:54 +02:00
Maschell
857c5d397d Updated Gui, HidManager refactoring, documentation,logs
- Improved the GUI a bit
- Changed HidManagerBackend to be an interface instead of an abstract
class. The methods were moved to HidManager
- simple documentation of the HidDevice interface (realls need more
polishing though, very basic atm)
- added logging for the current platform and backend being used
2017-04-05 20:38:03 +02:00
Maschell
2eaab5a211 Merge pull request #9 from QuarkTheAwesome/untested_both_hid_libs
Adding an abstract HID-Layer to be able to use different HID-Implementations + various other fixes.

"With this extra abstraction we can use two different HID-APIs. Currently we use purejavahidapi for Windows (supports more devices) and hid4java for OSX and Unix (hopefully better support).
This will also enable the auto scanning for OSX and change some Debug messages.
HIDTest should now also run (a bit better)."
2017-04-05 20:14:03 +02:00
Maschell
92baf6ebeb Added Auto-Scanning for OSX and changed some debug messages 2017-04-05 11:07:02 -07:00
Maschell
2a5dcddd69 Giving the Thread proper names. Using getUsage instead of getUsagePage 2017-04-05 19:40:16 +02:00
Maschell
367d2c79b6 removed the HidDeviceInfo class and added more methods to the HidDevice interface
(still untested)
2017-04-05 18:14:58 +02:00
Maschell
e71d760cde Added an abstract HID-Layer, this way we can change the actual HID-Backend easily
Currently Winows still uses purejavahidapi and Unix uses hid4java. This
is currently untested.
2017-04-05 11:44:21 +02:00
Maschell
25e8bc6faf Added option for disable auto-scanning for controllers
Alternative: buttons for scanning manually.
- Change the OSX implementation. You need to scan for controller
manually to get it working.
- OSX doesn’t check is a connection is still open when sending. Added a
PING response to check if the client is still connected.
!!!!!!!!!
- Changed the protocol! For this network client, you’ll need the newest
nighty of HIDtoVPAD!
!!!!!!!!!
2017-04-03 07:55:39 -07:00
Maschell
79f4d738de Skip Xbox pads when scanning for HID-Devices on windows. (We have XInput!) 2017-04-02 19:12:39 +02:00
Maschell
07443bca8a Now it has it's own support thread on gbatemp.net! 2017-04-02 00:32:05 +02:00
Maschell
ad73c904be Changed the filename of the generated .jar files 2017-04-01 20:20:27 +02:00
Maschell
559b5679d5 Added one more usage page to the list of accecpted HID devices
- added a really simple HIDTest tool to see inputs
2017-04-01 20:12:52 +02:00
Maschell
964cd999fe Updated the JNA version 2017-04-01 17:15:32 +02:00
Maschell
d0e7928ed2 Fixed the equals methods + more refactoring 2017-03-31 16:47:06 +02:00
Maschell
1c98eaffbb Even more refactoring (and fixing the build..) 2017-03-31 16:01:52 +02:00
Maschell
4c814a2aaf Some Code-Refactoring 2017-03-31 15:31:41 +02:00
Maschell
ebe03a23c6 Changed the AccessLevel of the classes in the network package and improved
the MessageBox system. Now it's threadsafe and multiple consumers are
possible.
- Added a message box when connecting fails.
- Change the version of the used purejavahidapi
2017-03-31 14:34:09 +02:00
Maschell
3a0261e3d5 Merge pull request #8 from QuarkTheAwesome/msgbox
Refactor messageboxes for cross-thread wonders
2017-03-31 13:11:07 +02:00
Ash
751d06e97e Refactor messageboxes for cross-thread wonders.
My god, @Maschell.
2017-03-31 22:00:33 +11:00
Ash
24864ebf43 Change releases to be from bot account 2017-03-31 16:55:39 +11:00
Ash
0db397c2d2 Create special case for missing C++ redistributables
Error first spotted at https://gbatemp.net/posts/7211285 - hopefully
this error will lead people in the right direction.
2017-03-31 16:41:50 +11:00
Ash
faf13d91d0 Minor code cleanup, remove some Eclipse warnings 2017-03-31 16:27:34 +11:00
Maschell
1a27dfea42 Update README.md 2017-03-30 17:31:11 +02:00
Maschell
fc838c7366 Bumped the version in the circle.yml 2017-03-30 17:29:59 +02:00
Maschell
4066013e37 Bumped Version and sending now data permanently not only on changes 2017-03-30 17:23:50 +02:00