firmware/src/graphics
Nicholas Baddorf 147de75a02
Added modifier key combination to allow keyboard shortcuts on t-deck (#3668)
* Updated kbI2cBase.cpp

Updated keyboard settings for t-deck to allow a modifier key to trigger 'tab', mute notifications, or quit. To trigger the modifier press the shift key and mic (0) button at the same time. Then press q (quit), m (mute), or t (tab).

* Update kbI2cBase.cpp

* fixed formatting issues in kbI2cBase.cpp

* Removed keyboard shortcut code that doesnt work

alt+t does not work on a t-deck so I removed it to avoid confusion.

* Updated kbI2cBase.cpp

Updated keyboard settings for t-deck to allow a modifier key to trigger 'tab', mute notifications, or quit. To trigger the modifier press the shift key and mic (0) button at the same time. Then press q (quit), m (mute), or t (tab).

* Update kbI2cBase.cpp

* fixed formatting issues in kbI2cBase.cpp

* Removed keyboard shortcut code that doesnt work

alt+t does not work on a t-deck so I removed it to avoid confusion.

* Changed modifier key to alt+c

* Added screen brightness functionality

Use modifier key with o(+) to increase brightness or i(-) to decrease.

Currently there are 4 levels of brightness, (L, ML, MH, H). I would like to add a popup message to tell you the brightness.

* Added checks to disable screen brightness changes on unsupported hardware

* Setting the brightness code to work on only applicable devices

* Added "function symbol" display to bottom right corner of screen. Now shows when mute is active or modifier key is pressed. Also fixed some other minor issues.

* commented out a log

* Reworked how modifier functions worked, added

I wasn’t  happy with my previous implementation, and I think it would have caused issues with other devices. This should work on all devices.

* Added back the function I moved causing issue with versions

* Fixed the version conflicts, everything seems to work fine now

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2024-05-08 07:37:50 -05:00
..
fonts Trunk fix 2023-02-20 12:33:01 -06:00
img Adafruit display (#3179) 2024-02-08 16:29:15 -06:00
EInkDisplay2.cpp Disable holds / isolations on RTC IO pads after deep sleep (#3539) 2024-04-03 06:59:53 -05:00
EInkDisplay2.h Async full-refresh for EInkDynamicDisplay (#3339) 2024-03-11 07:56:55 -05:00
EInkDynamicDisplay.cpp Terminate an async-full-refresh when caught by determineMode() instead of onNotify() (#3706) 2024-04-23 12:00:48 -05:00
EInkDynamicDisplay.h Handle edge cases for E-Ink screensaver (#3518) 2024-03-31 07:04:05 -05:00
images.h New device unPhone using HX8357D LCD and XPT2046 touchscreen 2024-04-04 11:00:10 +02:00
NeoPixel.h oops missed the extern enabling little chap 2024-04-22 14:44:59 +01:00
RAKled.h Ambient lighting (#2779) 2023-09-07 12:24:47 -05:00
Screen.cpp Added modifier key combination to allow keyboard shortcuts on t-deck (#3668) 2024-05-08 07:37:50 -05:00
Screen.h Added modifier key combination to allow keyboard shortcuts on t-deck (#3668) 2024-05-08 07:37:50 -05:00
ScreenFonts.h New device unPhone using HX8357D LCD and XPT2046 touchscreen 2024-04-04 11:00:10 +02:00
TFTDisplay.cpp Added modifier key combination to allow keyboard shortcuts on t-deck (#3668) 2024-05-08 07:37:50 -05:00
TFTDisplay.h Added modifier key combination to allow keyboard shortcuts on t-deck (#3668) 2024-05-08 07:37:50 -05:00