Commit Graph

  • 70e83c13cc Attempt to auto detect unknown Polychrome firmware versions Adam Honse 2020-05-12 13:36:07 -05:00
  • 7ca0a1b6ab Add Aura USB controller for X570 mainboards Martin Hartl 2020-04-26 22:07:51 +02:00
  • 9bd5536d07 Add ASR LED firmware 1.5 Adam Honse 2020-05-12 12:06:34 -05:00
  • eaa3b9a368 Add command line option to enable i2c tools Adam Honse 2020-05-12 11:01:46 -05:00
  • 599c468de8 Small changes for 0.2 - report 5 channels from Aura Addressable controller until config table is figured out, increase sleep in Corsair Peripheral write to 2ms to prevent device crashing in Linux Adam Honse 2020-05-12 08:59:19 -05:00
  • 9f21814395 Code style changes for RGB Fusion 2 SMBus Adam Honse 2020-05-11 12:24:25 -05:00
  • cb8a551683 Disable RGB Fusion 2 SMBus controller until better detection scheme is implemented Adam Honse 2020-05-11 11:43:42 -05:00
  • 7f1156d81c Rename UpdateLEDs to DeviceUpdateLEDs Matt Harper 2020-05-11 10:23:26 -05:00
  • 5beee08166 Write only the absolutely necessary LEDs Matt Harper 2020-05-08 17:09:21 -05:00
  • 1334129078 Additional protocol options Matt Harper 2020-05-08 16:11:29 -05:00
  • 216b492f24 Const cleanup, fix behavioral bugs by writing all LEDs every time Matt Harper 2020-05-08 11:10:37 -05:00
  • 1b65bb9cc3 Rudimentary RGB Fusion 2 SMBus support Matt Harper 2020-05-07 18:28:10 -05:00
  • 0f4ddd164f RGB Fusion 2 SMBus initial work Adam Honse 2020-04-11 05:36:21 +00:00
  • e6aadc414b Handle socket errors on Windows, which does not return 0 when a socket is disconnected like Linux does Adam Honse 2020-05-10 16:22:29 -05:00
  • 883a78ad9d Fix client on Windows Adam Honse 2020-05-10 16:16:59 -05:00
  • 15d23d3009 Add client status update callback to NetworkClient Adam Honse 2020-05-10 13:41:01 -05:00
  • e2c2b8c1df Client will now close listener thread when disconnected and attempt to reconnect. Initialization behavior (controller requests, client string update) are performed automatically upon reconnection Adam Honse 2020-05-10 01:19:33 -05:00
  • 5133c30242 Update BlackWidow V2 device string Adam Honse 2020-05-09 18:21:46 -05:00
  • 69e1e19bf9 Bugfix - properly free ServerClients Matt Harper 2020-05-09 12:56:10 -05:00
  • 46f08f7423 Disable SMBus tools again Adam Honse 2020-05-09 15:49:47 -05:00
  • 352b9928ca Add file headers to network files and some minor code cleanup Adam Honse 2020-05-09 15:47:51 -05:00
  • 87854d5781 Fix crash when stopping server Adam Honse 2020-05-09 15:44:07 -05:00
  • 1b3f8f9eb4 Clean up server page Adam Honse 2020-05-09 15:21:55 -05:00
  • 6438c15dd3 Fix build on Windows Adam Honse 2020-05-08 23:23:25 -05:00
  • dbe29991f0 Send client string after server is connected Adam Honse 2020-05-08 22:25:46 -05:00
  • a5e9a3de05 Add mutex on updating callbacks Adam Honse 2020-05-08 22:25:13 -05:00
  • edf1b251c0 Send and receive client string Adam Honse 2020-05-08 22:07:34 -05:00
  • 9ff4314840 Add callback to NetworkServer to handle UI updates when client information changes Adam Honse 2020-05-08 21:53:53 -05:00
  • 3ad0986ae7 Add IP field to client information and display client IP in the server tab's connected client list Adam Honse 2020-05-07 00:51:43 -05:00
  • 6bfc9dd9db Create a structure to hold client information in the network server and fix i2c hanging on destructor when bus is not available. Adam Honse 2020-05-06 23:57:29 -05:00
  • 9b8a0d465e Functions to set IP and port and start client Adam Honse 2020-05-06 13:44:37 -05:00
  • 119741b736 Fix build on Windows Adam Honse 2020-05-02 00:29:22 -05:00
  • 2fe958783c Use select on accept call as well so that server closes on Linux Adam Honse 2020-05-02 00:23:55 -05:00
  • 1c59ef6b80 Fix build on Linux Adam Honse 2020-05-01 23:05:10 -05:00
  • 9e44e4ba4f Add server information to user interface and provide buttons to start and stop server, change port Adam Honse 2020-05-01 22:38:45 -05:00
  • b8e14ea067 Server info WIP Adam Honse 2020-05-01 13:41:05 -05:00
  • 525071c205 Use condition variables and mutexes to eliminate sleeps from SMBus threading Adam Honse 2020-04-30 09:31:01 -05:00
  • bfe03b0564 Handle all SMBus controller activity on a separate thread to avoid corrupting the SMBus data Adam Honse 2020-04-29 23:55:18 -05:00
  • 04b87ce2eb Use std::thread for NetworkClient threads Adam Honse 2020-04-29 17:09:44 -05:00
  • 81acc47cd6 Use std::thread for NetworkServer threads Adam Honse 2020-04-29 17:05:46 -05:00
  • 6e426b1403 Fix thread conflicts for HyperX keyboard in Direct mode Adam Honse 2020-04-29 09:34:24 -05:00
  • 6509e53a9b Disable I2C devices until threading issues are resolved, don't start a NetworkClient in main Adam Honse 2020-04-28 20:13:55 -05:00
  • 5b42b3d11d Use TCP_NODELAY on client socket Adam Honse 2020-04-28 20:07:36 -05:00
  • 8bd515296d Add key matrix map for Corsair K70 keyboards Adam Honse 2020-04-28 18:48:54 -05:00
  • 2bbf66c0ee Fix memory leaks in client Adam Honse 2020-04-27 14:20:45 -05:00
  • d716973642 Get network client working on Windows Adam Honse 2020-04-27 10:24:41 -05:00
  • 25f7a87a79 Get network server working in Windows Adam Honse 2020-04-27 10:21:24 -05:00
  • 0619a16be2 Add matrix map for HyperX Alloy Elite Adam Honse 2020-04-26 17:25:08 -05:00
  • 4a3802f344 Add matrix map for Poseidon Z RGB keyboard Adam Honse 2020-04-26 17:02:52 -05:00
  • 105f5642ef Add matrix map support Adam Honse 2020-04-26 16:09:22 -05:00
  • 54ab57cea6 Add zone types to HyperX and Poseidon Z RGB keyboard controllers Adam Honse 2020-04-26 00:22:10 -05:00
  • e3e6c0347e Add a thread to RGBController to asynchronously perform device updates. Only implemented for UpdateLEDs for now Adam Honse 2020-04-25 23:45:48 -05:00
  • 4d6706ce61 Close server listener thread when read returns zero (client connection lost) Adam Honse 2020-04-25 23:01:32 -05:00
  • 39c5aff864 Send color data over the network when calling color update functions Adam Honse 2020-04-25 18:58:43 -05:00
  • 450f438538 Send mode data block when updating mode Adam Honse 2020-04-25 16:12:19 -05:00
  • 0270c745ce Implement RGBController_Network packet sending for current set of RGBController commands Adam Honse 2020-04-24 18:45:01 -05:00
  • e2dfcd5b0f Client now requests list of all controllers from server and adds them to the master list Adam Honse 2020-04-24 18:22:17 -05:00
  • 68fa3c2def Create functions for sending replies Adam Honse 2020-04-23 16:37:24 -05:00
  • cde7469191 Create functions for sending requests Adam Honse 2020-04-23 16:30:30 -05:00
  • 7c1a1396ca Client requests controller count and first controller data block from server, prints response Adam Honse 2020-04-23 13:06:49 -05:00
  • 7f052f21aa Run client from main Adam Honse 2020-04-23 12:40:52 -05:00
  • dff667751b Start work on network client Adam Honse 2020-04-21 23:54:06 -05:00
  • 2625807c1a Add RGBController function call packet functionality Adam Honse 2020-04-21 21:34:53 -05:00
  • 7af283fdbf Implement requests for number of controllers and controller information block Adam Honse 2020-04-21 21:26:10 -05:00
  • c7ffe3b926 Network server can now receive packets properly Adam Honse 2020-04-21 20:54:16 -05:00
  • 46339c5f86 More work on network support, need to implement spawning of one read thread for each client socket Adam Honse 2020-04-13 01:01:10 -05:00
  • cf69598fd1 Start working on server request processing code Adam Honse 2020-04-11 16:54:34 -05:00
  • 594f66ab23 Initial network files Adam Honse 2020-04-11 13:42:32 -05:00
  • f8fe1d29fb Add file headers to network files and some minor code cleanup network_devel Adam Honse 2020-05-09 15:47:51 -05:00
  • 42a9a9314d Fix crash when stopping server Adam Honse 2020-05-09 15:44:07 -05:00
  • 41d9a66c1c Clean up server page Adam Honse 2020-05-09 15:21:55 -05:00
  • 2437379506 Fix build on Windows Adam Honse 2020-05-08 23:23:25 -05:00
  • f95e210260 Send client string after server is connected Adam Honse 2020-05-08 22:25:46 -05:00
  • a5d37819d2 Add mutex on updating callbacks Adam Honse 2020-05-08 22:25:13 -05:00
  • 80917314df Send and receive client string Adam Honse 2020-05-08 22:07:34 -05:00
  • 3d25fa9451 Add callback to NetworkServer to handle UI updates when client information changes Adam Honse 2020-05-08 21:53:53 -05:00
  • 5c4e2ee00a Add IP field to client information and display client IP in the server tab's connected client list Adam Honse 2020-05-07 00:51:43 -05:00
  • 13b27fd966 Create a structure to hold client information in the network server and fix i2c hanging on destructor when bus is not available. Adam Honse 2020-05-06 23:57:29 -05:00
  • a41a22d5d6 Functions to set IP and port and start client Adam Honse 2020-05-06 13:44:37 -05:00
  • 01e0808e41 Add 1ms sleep after every Corsair peripheral USB message because K70 RGB locks up on Linux otherwise Adam Honse 2020-05-04 17:02:39 -05:00
  • 56572beba9 Fix build on Windows Adam Honse 2020-05-02 00:29:22 -05:00
  • bbf98b2f72 Use select on accept call as well so that server closes on Linux Adam Honse 2020-05-02 00:23:55 -05:00
  • 0bba8539e4 Fix build on Linux Adam Honse 2020-05-01 23:05:10 -05:00
  • 4e00aac741 Add server information to user interface and provide buttons to start and stop server, change port Adam Honse 2020-05-01 22:38:45 -05:00
  • f3b20da6a3 Server info WIP Adam Honse 2020-05-01 13:41:05 -05:00
  • 7ae3ce651d Use condition variables and mutexes to eliminate sleeps from SMBus threading Adam Honse 2020-04-30 09:31:01 -05:00
  • 2307566dac Handle all SMBus controller activity on a separate thread to avoid corrupting the SMBus data Adam Honse 2020-04-29 23:55:18 -05:00
  • 6101d9d43e Use std::thread for NetworkClient threads Adam Honse 2020-04-29 17:09:44 -05:00
  • c2541d9585 Use std::thread for NetworkServer threads Adam Honse 2020-04-29 17:05:46 -05:00
  • 89cc9fc912 Fix thread conflicts for HyperX keyboard in Direct mode Adam Honse 2020-04-29 09:34:24 -05:00
  • 24a7940787 Disable I2C devices until threading issues are resolved, don't start a NetworkClient in main Adam Honse 2020-04-28 20:13:55 -05:00
  • 2aa33821dd Use TCP_NODELAY on client socket Adam Honse 2020-04-28 20:07:36 -05:00
  • 82232b4aef Add key matrix map for Corsair K70 keyboards Adam Honse 2020-04-28 18:48:54 -05:00
  • de13ca2cff Fix memory leaks in client Adam Honse 2020-04-27 14:20:45 -05:00
  • c45cf2466a Get network client working on Windows Adam Honse 2020-04-27 10:24:41 -05:00
  • f01aa31c3b Get network server working in Windows Adam Honse 2020-04-27 10:21:24 -05:00
  • c9f7fe8f3f Add matrix map for HyperX Alloy Elite Adam Honse 2020-04-26 17:25:08 -05:00
  • e7483e22a9 Add matrix map for Poseidon Z RGB keyboard Adam Honse 2020-04-26 17:02:52 -05:00
  • 438fc49127 Add matrix map support Adam Honse 2020-04-26 16:09:22 -05:00
  • f62851dbab Add zone types to HyperX and Poseidon Z RGB keyboard controllers Adam Honse 2020-04-26 00:22:10 -05:00