Commit Graph

493 Commits

Author SHA1 Message Date
Adam Honse
a41a22d5d6 Functions to set IP and port and start client 2020-05-06 13:44:37 -05:00
Adam Honse
56572beba9 Fix build on Windows 2020-05-02 00:29:22 -05:00
Adam Honse
bbf98b2f72 Use select on accept call as well so that server closes on Linux 2020-05-02 00:23:55 -05:00
Adam Honse
0bba8539e4 Fix build on Linux 2020-05-01 23:05:10 -05:00
Adam Honse
4e00aac741 Add server information to user interface and provide buttons to start and stop server, change port 2020-05-01 22:38:45 -05:00
Adam Honse
f3b20da6a3 Server info WIP 2020-05-01 15:29:15 -05:00
Adam Honse
7ae3ce651d Use condition variables and mutexes to eliminate sleeps from SMBus threading 2020-05-01 15:29:14 -05:00
Adam Honse
2307566dac Handle all SMBus controller activity on a separate thread to avoid corrupting the SMBus data 2020-05-01 15:29:14 -05:00
Adam Honse
6101d9d43e Use std::thread for NetworkClient threads 2020-05-01 15:29:14 -05:00
Adam Honse
c2541d9585 Use std::thread for NetworkServer threads 2020-05-01 15:29:14 -05:00
Adam Honse
89cc9fc912 Fix thread conflicts for HyperX keyboard in Direct mode 2020-05-01 15:29:14 -05:00
Adam Honse
24a7940787 Disable I2C devices until threading issues are resolved, don't start a NetworkClient in main 2020-05-01 15:29:14 -05:00
Adam Honse
2aa33821dd Use TCP_NODELAY on client socket 2020-05-01 15:29:14 -05:00
Adam Honse
82232b4aef Add key matrix map for Corsair K70 keyboards 2020-05-01 15:29:14 -05:00
Adam Honse
de13ca2cff Fix memory leaks in client 2020-05-01 15:29:14 -05:00
Adam Honse
c45cf2466a Get network client working on Windows 2020-05-01 15:29:14 -05:00
Adam Honse
f01aa31c3b Get network server working in Windows 2020-05-01 15:29:13 -05:00
Adam Honse
c9f7fe8f3f Add matrix map for HyperX Alloy Elite 2020-05-01 15:29:13 -05:00
Adam Honse
e7483e22a9 Add matrix map for Poseidon Z RGB keyboard 2020-05-01 15:29:13 -05:00
Adam Honse
438fc49127 Add matrix map support 2020-05-01 15:29:13 -05:00
Adam Honse
f62851dbab Add zone types to HyperX and Poseidon Z RGB keyboard controllers 2020-05-01 15:29:13 -05:00
Adam Honse
5e3ad426e9 Add a thread to RGBController to asynchronously perform device updates. Only implemented for UpdateLEDs for now 2020-05-01 15:29:13 -05:00
Adam Honse
3622913291 Close server listener thread when read returns zero (client connection lost) 2020-05-01 15:29:13 -05:00
Adam Honse
dd0edb3f84 Send color data over the network when calling color update functions 2020-05-01 15:29:13 -05:00
Adam Honse
e1737fb971 Send mode data block when updating mode 2020-05-01 15:29:13 -05:00
Adam Honse
56df7d65b3 Implement RGBController_Network packet sending for current set of RGBController commands 2020-05-01 15:29:12 -05:00
Adam Honse
4eb926f8ef Client now requests list of all controllers from server and adds them to the master list 2020-05-01 15:29:12 -05:00
Adam Honse
8fc98a035b Create functions for sending replies 2020-05-01 15:29:12 -05:00
Adam Honse
5567db88f8 Create functions for sending requests 2020-05-01 15:29:12 -05:00
Adam Honse
b96d160ce2 Client requests controller count and first controller data block from server, prints response 2020-05-01 15:29:12 -05:00
Adam Honse
f44c6365c0 Run client from main 2020-05-01 15:29:12 -05:00
Adam Honse
94277e7d04 Start work on network client 2020-05-01 15:29:12 -05:00
Adam Honse
1d4393b5c4 Add RGBController function call packet functionality 2020-05-01 15:29:12 -05:00
Adam Honse
fa015dd558 Implement requests for number of controllers and controller information block 2020-05-01 15:29:12 -05:00
Adam Honse
5c7359fa60 Network server can now receive packets properly 2020-05-01 15:29:12 -05:00
Adam Honse
4dbe14febe More work on network support, need to implement spawning of one read thread for each client socket 2020-05-01 15:29:12 -05:00
Adam Honse
c8346e1f7c Start working on server request processing code 2020-05-01 15:29:11 -05:00
Adam Honse
095b9ce635 Initial network files 2020-05-01 15:29:11 -05:00
Adam Honse
2dc443ff1e Add 0x18A3 to Aura addressable PID list (Z390-F) 2020-05-01 15:28:49 -05:00
Adam Honse
0ab0586dfa Update OpenRazer-Win32 DLLs to openrazer commit 134d7bf 2020-05-01 13:41:42 -05:00
Adam Honse
88fa6bf25a Hide SMBus tools panel, will add a settings option to show it 2020-04-29 16:36:37 -05:00
Adam Honse
9346490e4a Fix memory leak in OpenRazer controller 2020-04-28 20:08:43 -05:00
Adam Honse
7d4e5d6122 Add Redragon M715 support 2020-04-28 17:07:59 -05:00
Adam Honse
d4a03b23c8 Add Redragon K550 support 2020-04-28 16:55:39 -05:00
Adam Honse
47b5c94310 Add WinUSB/Zadig info to README 2020-04-23 19:32:57 -05:00
Adam Honse
079a984f8d Add some information to the README and update the formatting a bit 2020-04-23 19:24:27 -05:00
Adam Honse
b6e35c4155 Add Mamba 2012 and fix Mamba (wireless Chroma version) device string 2020-04-21 20:02:32 -05:00
Adam Honse
c9d1ac5d8f Update OpenRazerWindows to support DeathAdder Chroma command format 2020-04-21 19:40:09 -05:00
Adam Honse
427c635ed8 Update to OpenRazer-Win32 API, device attribute pointers are now filled in by the driver during device probe, so we don't need to fill them in manually by device type anymore 2020-04-21 16:22:39 -05:00
Chris
0703bcd0a8 Several improvements to the controller
Corrected syntax errors
Corrected logical errors
Readability improvements
Build no longer segfaults changing zone
2020-04-21 15:51:54 -05:00