Commit Graph

  • 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
  • 5e3ad426e9 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
  • 3622913291 Close server listener thread when read returns zero (client connection lost) Adam Honse 2020-04-25 23:01:32 -05:00
  • dd0edb3f84 Send color data over the network when calling color update functions Adam Honse 2020-04-25 18:58:43 -05:00
  • e1737fb971 Send mode data block when updating mode Adam Honse 2020-04-25 16:12:19 -05:00
  • 56df7d65b3 Implement RGBController_Network packet sending for current set of RGBController commands Adam Honse 2020-04-24 18:45:01 -05:00
  • 4eb926f8ef 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
  • 8fc98a035b Create functions for sending replies Adam Honse 2020-04-23 16:37:24 -05:00
  • 5567db88f8 Create functions for sending requests Adam Honse 2020-04-23 16:30:30 -05:00
  • b96d160ce2 Client requests controller count and first controller data block from server, prints response Adam Honse 2020-04-23 13:06:49 -05:00
  • f44c6365c0 Run client from main Adam Honse 2020-04-23 12:40:52 -05:00
  • 94277e7d04 Start work on network client Adam Honse 2020-04-21 23:54:06 -05:00
  • 1d4393b5c4 Add RGBController function call packet functionality Adam Honse 2020-04-21 21:34:53 -05:00
  • fa015dd558 Implement requests for number of controllers and controller information block Adam Honse 2020-04-21 21:26:10 -05:00
  • 5c7359fa60 Network server can now receive packets properly Adam Honse 2020-04-21 20:54:16 -05:00
  • 4dbe14febe 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
  • c8346e1f7c Start working on server request processing code Adam Honse 2020-04-11 16:54:34 -05:00
  • 095b9ce635 Initial network files Adam Honse 2020-04-11 13:42:32 -05:00
  • 2dc443ff1e Add 0x18A3 to Aura addressable PID list (Z390-F) Adam Honse 2020-05-01 15:28:49 -05:00
  • 0ab0586dfa Update OpenRazer-Win32 DLLs to openrazer commit 134d7bf Adam Honse 2020-05-01 13:41:42 -05:00
  • 88fa6bf25a Hide SMBus tools panel, will add a settings option to show it Adam Honse 2020-04-29 16:36:37 -05:00
  • 9346490e4a Fix memory leak in OpenRazer controller Adam Honse 2020-04-28 20:08:43 -05:00
  • 7d4e5d6122 Add Redragon M715 support Adam Honse 2020-04-28 17:07:59 -05:00
  • d4a03b23c8 Add Redragon K550 support Adam Honse 2020-04-28 16:55:39 -05:00
  • 47b5c94310 Add WinUSB/Zadig info to README Adam Honse 2020-04-23 19:32:57 -05:00
  • 079a984f8d Add some information to the README and update the formatting a bit Adam Honse 2020-04-23 19:24:27 -05:00
  • b6e35c4155 Add Mamba 2012 and fix Mamba (wireless Chroma version) device string Adam Honse 2020-04-21 20:02:32 -05:00
  • c9d1ac5d8f Update OpenRazerWindows to support DeathAdder Chroma command format Adam Honse 2020-04-21 19:40:09 -05:00
  • 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 Adam Honse 2020-04-21 16:22:39 -05:00
  • 0703bcd0a8 Several improvements to the controller Chris 2020-04-22 03:03:32 +10:00
  • 984c6bb7f5 Fix naming convention Adam Honse 2020-04-21 15:27:46 -05:00