Adam Honse
248b3e85b6
Don't delete the controller pointer in DeviceView destructor
2022-11-25 22:29:00 -06:00
Chris
40f09406d0
Re-timing DeviceView set up to avoid crash resolving #2564
...
* Allowing the paintEvent to drive the initial setup of the DeviceView to delay accessing controller features during OpenRGB initialisation.
2022-11-24 09:06:42 +11:00
Joseph E
0de010a009
Add Korean/Japanese/Nordic key names to RGBController
2022-10-31 23:56:42 +00:00
Adam Honse
41ef951e8b
Clean up DeviceView initialzation code
...
- Move scaling to after calculating positions to make the math easier to follow
- Move unchanged variables to defined constants
- Add comments
- Use local variables to avoid looking stuff up from controller pointer repeatedly
2022-02-21 21:03:16 -06:00
Chris
d8e023b4c8
Initial commit for a canonical list of key names
...
+ Created RGBControllerKeyNames.h
* Adjusted every reference for key names found in `DeviceView`
* Formatting corrections
2022-02-13 15:40:15 +11:00
Chris
8b1424a150
Adding Unicode symbols for Media keys
...
+ Play/Pause, Stop, Previous & Next Track
+ Mute, Volume Up & Down
2022-01-24 11:33:16 +11:00
Frederik Madsen
cb6b701b8d
Add keymap for Razer Blade Pro 17 2021
2022-01-12 17:23:25 +00:00
Adam Honse
7d7d3aaffc
Don't draw the LED view or handle mouse events when the selected mode doesn't use per-LED colors
2021-08-20 10:10:44 -05:00
Kasper
a5928518c1
Implement QMK OpenRGB Procotol
...
This commit squashes commits by:
Kasper <ofek4430@gmail.com >
jath03 <jackthughes@yahoo.com >
Adam Honse <calcprogrammer1@gmail.com >
Commits squashed and amended for code style by Adam Honse <calcprogrammer1@gmail.com >
2021-05-30 18:41:55 -05:00
Adam Honse
a2a93daaab
Add numerical_labels setting to UserInterface settings
2021-05-24 23:08:39 -05:00
Kasper
f9c7df21f1
Add a number as a label for LEDs that otherwise would be nameless in DeviceView
2021-05-24 22:51:37 -05:00
silas
827c78da13
Fix window getting larger when spamming toggle LED view
...
Commit amended to only implement size hint change by Adam Honse <calcprogrammer1@gmail.com >
2021-05-02 11:33:20 -05:00
morg
96bbb5a69f
Prevent out of bounds access
2021-02-05 21:41:53 +00:00
Adam Honse
5c30255a06
Add bounds check on matrix map index to prevent crashing when matrix map has an out-of-range entry
2020-12-23 18:00:34 -06:00
k1-801
290fddaf55
Fix incorrect font color detection for DeviceView (threshold 50)
2020-09-06 02:36:53 -05:00
Adam Honse
0345eb582b
More warning fixes
2020-09-02 19:03:43 -05:00
Adam Honse
f568253c51
Clean up more warnings
2020-09-02 18:25:58 -05:00
k1-801
45dc619076
Expand large keys to fill empty spaces in the matrix, if possible
...
Change manually picked from merge request by Adam Honse <calcprogrammer1@gmail.com >
2020-08-30 00:31:18 -05:00
k1-801
1c7bfdaeb4
Proper UTF-8 labels
...
Commit amended by Adam Honse <calcprogrammer1@gmail.com >
2020-08-29 01:40:59 -05:00
Adam Honse
b03fce33ca
Update Key: Context to Key: Menu in device view label lookup
2020-08-24 00:51:34 -05:00
Adam Honse
a2ed9571cf
Add button to toggle graphical LED view and default to hidden
2020-08-24 00:40:44 -05:00
Adam Honse
ba24efe544
Fix display for devices with multiple matrix zones
2020-08-24 00:40:44 -05:00
Adam Honse
f750654b3e
Check for size changes and refresh data if size has changed
2020-08-24 00:40:44 -05:00
Adam Honse
b0b46dd3a5
Use QString for LED labels vector
2020-08-24 00:40:44 -05:00
Adam Honse
5e002107ef
Add key labels based on key names
2020-08-24 00:40:44 -05:00
k1-801
63f005d4fc
Forgot a DeviceView update in setSelectionColor
2020-08-24 00:40:44 -05:00
k1-801
4601b91f1f
Fixed multiple selection, temporarily disabled interface updates due to update spam from a controler
...
Code style changes and integration by Adam Honse <calcprogrammer1@gmail.com >
2020-08-24 00:40:44 -05:00
k1-801
c8ea2ff36f
Zones overlapping fixed
...
Code from RGBController moved to DeviceView by Adam Honse <calcprogrammer1@gmail.com >
2020-08-24 00:40:44 -05:00
k1-801
7781b1425d
Ctrl-held selection fix
2020-08-24 00:40:43 -05:00
k1-801
7977a3ef50
Fix some signedness warnings, add size caching
2020-08-24 00:40:43 -05:00
k1-801
3000d625fa
WIP: Zone names displayed fine now, but off-center
2020-08-24 00:40:43 -05:00
k1-801
bbc3c1de5b
WIP: Instant color setting, buttons removed
...
Code cleanup by Adam Honse <calcprogrammer1@gmail.com >
2020-08-24 00:40:43 -05:00
k1-801
a2a394492b
WIP: Multiple selection test
...
Rework of LED position data from RGBController into DeviceView, code style cleanup modified by Adam Honse <calcprogrammer1@gmail.com >
2020-08-24 00:40:43 -05:00
Adam Honse
c6b10d9316
Center the device view horizontally
2020-08-24 00:40:43 -05:00
Adam Honse
177cd2ec92
Use matrix map when available
2020-08-24 00:40:43 -05:00
Adam Honse
f787c5e63f
Move device view above other controls, begin working on matrix display
2020-08-24 00:40:43 -05:00
Adam Honse
d3993547c3
Device view resizes width to fit window size, UI updates on SDKcontroller update
2020-08-24 00:40:43 -05:00
Adam Honse
17f1390f36
Add widget that displays the current color of all LEDs on a controller
2020-08-24 00:40:43 -05:00