Commit Graph
2020 Commits
Author SHA1 Message Date
Tasos Sahanidis 00b1173834 Remove FPS command and lower usbsend delays
Devices now actually run at the set framerate.

1300us delay was picked because it's the only way to reach 60FPS.
If some devices are unhappy about it, then the FPS command will need
to be reintroduced.

Closes #882
2022-09-28 02:02:22 +03:00
Tasos Sahanidis d860e8b13d Fix KeyWidgetDebugger segfault on close 2022-09-26 15:18:38 +03:00
Tasos Sahanidis 87a5815815 Move KeyWidget tooltip handling to the tooltip event
This eliminates the need to constantly check which key is under the cursor
on every mouse move event.
2022-09-26 13:40:55 +03:00
Tasos Sahanidis 1b34466d23 Add GUI main lighting loop FPS counter 2022-09-25 22:43:21 +03:00
Tasos Sahanidis eb57bb8746 Add GL Renderer FPS counter 2022-09-25 00:41:14 +03:00
Tasos Sahanidis 4f274b3165 Fix GUI FPS calculation
60HZ ended up being 62.5HZ due to improper integer division
2022-09-24 00:34:49 +03:00
Tasos Sahanidis 3d5c76a133 Add FPS counter for daemon 2022-09-24 00:34:22 +03:00
Tasos Sahanidis e64edc2135 Fix assertion in keywidgetdebugger with no devices 2022-09-21 21:29:50 +03:00
Tasos Sahanidis dd4c495d18 Merge branch 'opengl' 2022-09-18 17:56:06 +03:00
Tasos Sahanidis 40c53ab0a9 Use OpenGL to render the KeyWidget
Some code has also been cleaned up.
These changes greatly reduce CPU usage and increase overall responsiveness.
2022-09-18 17:25:07 +03:00
Tasos Sahanidis c21a730ef5 Bump min Qt version to 5.6.0 2022-09-18 17:05:06 +03:00
Tasos Sahanidis ad30cdf819 Fix clang warnings in GUI
Unused variables and a potential null dereference
2022-09-18 10:02:36 +03:00
Tasos Sahanidis 6eb6c1d85f Fix URB logging for > 64 byte packets 2022-09-17 19:48:32 +03:00
Tasos Sahanidis d0a5ce6e5a Re-add DEBUG_USB_RECV 2022-09-17 10:56:00 +03:00
Tasos Sahanidis 8813d37022 Fix builds with USE_DBUS_MENU=0
Closes #875
2022-09-17 08:00:50 +03:00
Tasos Sahanidis db7d3b6b94 Merge branch 'parser' 2022-09-17 07:47:41 +03:00
Tasos Sahanidis f54f4ab350 Rewrite command fifo reader 2022-09-12 12:21:59 +03:00
Tasos Sahanidis 417d03b93b Fix delay when turning lights off in bragi hw 2022-09-12 12:19:16 +03:00
Tasos Sahanidis 5a570eb97d Add missing full stop in daemon already running prompt 2022-09-06 04:36:47 +03:00
Tasos Sahanidis fd6ef6a9a0 Add systemctl hint in daemon already running prompt 2022-09-06 04:36:07 +03:00
Tasos Sahanidis 1f9705cd95 Move daemon already running message to main 2022-09-06 04:33:41 +03:00
Tasos Sahanidis c4c9e502ff Add key widget debugger 2022-08-22 20:20:08 +03:00
Tasos Sahanidis 6c5744262a Fix mviz static_assert 2022-08-10 18:25:41 +03:00
Tasos Sahanidis d4feee5301 Rewrite mviz
Closes #856
2022-08-10 18:17:47 +03:00
Tasos Sahanidis 8c212458f4 Fix typos 2022-08-06 20:06:00 +03:00
Tasos Sahanidis 69a78f003b Properly set the brightness on some bragi devices
For now we are still doing it in software, but we set the hardware
to full brightness in case the user had it set to off previously.
This way they can actually still control the device, and aren't
stuck with a keyboard with all lights completely off.
2022-08-06 20:03:09 +03:00
Tasos Sahanidis 2bd1a31552 Merge branch 'k55proxt'
Closes #775
2022-08-04 17:32:48 +03:00
Tasos Sahanidis 96d57c71aa Add K55 PRO XT 2022-08-04 17:32:14 +03:00
Tasos Sahanidis e3b23b6d94 Merge branch 'k55pro' 2022-08-04 17:29:58 +03:00
Tasos Sahanidis 13b5ffb12a Add K55 Pro to GUI 2022-08-04 17:29:23 +03:00
Tasos Sahanidis 265228e573 Add K55 PRO to daemon 2022-08-04 17:14:20 +03:00
Tasos Sahanidis 763098eee8 Merge remote-tracking branch 'hummeltech/master' 2022-07-30 21:01:58 +03:00
Tasos Sahanidis 38420fd8e2 Merge branch 'k60_monochrome' 2022-07-30 18:23:36 +03:00
Tasos Sahanidis a371647534 Add support for K60 PRO monochrome 2022-07-30 18:13:45 +03:00
Tasos Sahanidis 5452fc5926 Don't show the daemon warning on SIGHUP restart 2022-07-01 14:31:19 +03:00
Tasos Sahanidis 1316c148b8 Fix M65 BLD input 2022-07-01 12:25:34 +03:00
Tasos Sahanidis 1e1dc3e1e1 Fix bootloader detection on some NXP devices
Additionally, fix a buffer overflow if a serial number string
is all whitespaces (as can happen sometimes in BLD mode).
2022-06-30 23:59:18 +03:00
David Hummel c2fac0b4e6 GitHub Actions 2022-06-22 09:32:14 -07:00
Tasos Sahanidis 1de099678e Fix autostart checkbox detection with renamed binary 2022-06-20 22:58:28 +03:00
Tasos Sahanidis 5e5ce74655 Add warning about daemon being masked and unmask it
Closes #793
2022-06-12 03:34:02 +03:00
Tasos Sahanidis fb144627d7 Merge branch 'pollrate-rewrite'
Closes #814
2022-06-12 03:21:02 +03:00
Tasos Sahanidis 88bd0ef858 Add support for pollrates faster than 1ms
Additionally, remove the hwload command because it depended on a specific
pollrate value, and it was pointlessly complicated for no reason
2022-06-12 03:17:19 +03:00
Tasos Sahanidis aefc54a1ff Allow FW version labels to be selected by mouse 2022-06-02 00:30:54 +03:00
Tasos Sahanidis f2bec60f18 Merge branch 'nullptr' 2022-06-01 18:18:05 +03:00
Tasos Sahanidis 7377bdd768 Decrease bragi usb delay to normal 5ms 2022-06-01 17:04:55 +03:00
Tasos Sahanidis 52490b5627 Merge remote-tracking branch 'steinex/matrix' 2022-05-30 22:09:17 +03:00
Frank Steinborn 4935a88205 README.md: add link to matrix channel 2022-05-29 18:26:51 +02:00
Tasos Sahanidis 351dd21148 Add K95 Platinum XT to previous changelog 2022-05-29 14:53:34 +03:00
Tasos Sahanidis d4ba9cce8a Enable Wzero-as-null-pointer-constant by default 2022-05-27 21:14:24 +03:00
Tasos Sahanidis 489ea2a84f Replace 0 with nullptr for pointers 2022-05-27 21:08:28 +03:00