firmware/src/input
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
..
BBQ10Keyboard.cpp Try manual scancode for SYM 2023-08-22 11:23:19 +02:00
BBQ10Keyboard.h Try manual scancode for SYM 2023-08-22 11:23:19 +02:00
cardKbI2cImpl.cpp support BB Q10 keyboard (#2703) 2023-08-19 08:37:42 -05:00
cardKbI2cImpl.h trunk roundhouse kick 2023-01-21 21:23:24 +01:00
InputBroker.cpp trunk roundhouse kick 2023-01-21 21:23:24 +01:00
InputBroker.h trunk roundhouse kick 2023-01-21 21:23:24 +01:00
kbI2cBase.cpp Added modifier key combination to allow keyboard shortcuts on t-deck (#3668) 2024-05-08 07:37:50 -05:00
kbI2cBase.h Try manual scancode for SYM 2023-08-22 11:23:19 +02:00
kbMatrixBase.cpp fix building for other platforms 2023-08-07 19:57:47 +02:00
kbMatrixBase.h Let's see what this breaks... 2023-08-07 19:34:42 +02:00
kbMatrixImpl.cpp fix building for other platforms 2023-08-07 19:57:47 +02:00
kbMatrixImpl.h Let's see what this breaks... 2023-08-07 19:34:42 +02:00
LinuxInput.cpp Native: fail-safes for simulated node without config file (#3486) 2024-03-24 13:42:32 -05:00
LinuxInput.h Native: fail-safes for simulated node without config file (#3486) 2024-03-24 13:42:32 -05:00
LinuxInputImpl.cpp Portduino work (#3049) 2024-01-12 02:00:31 -06:00
LinuxInputImpl.h Portduino work (#3049) 2024-01-12 02:00:31 -06:00
RotaryEncoderInterruptBase.cpp remove logging from int handler (#3242) 2024-02-17 13:25:57 -06:00
RotaryEncoderInterruptBase.h woops 2023-03-12 20:20:55 +01:00
RotaryEncoderInterruptImpl1.cpp Gps cleanup and powersave (#2807) 2023-09-23 23:45:35 -05:00
RotaryEncoderInterruptImpl1.h Gps cleanup and powersave (#2807) 2023-09-23 23:45:35 -05:00
TouchScreenBase.cpp T-Watch fixes 2023-08-08 18:06:39 +02:00
TouchScreenBase.h Enable compiling with gccnoneeabi 12.3.1 for nRF52 targets, additional small fixes (#3778) 2024-05-03 15:49:22 -05:00
TouchScreenImpl1.cpp Add multiple SPI devices for Radio, Display, and Touchscreen (#3638) 2024-04-17 14:25:52 -05:00
TouchScreenImpl1.h T deck: support keyboard, trackball and touchscreen (#2665) 2023-07-30 07:51:26 -05:00
TrackballInterruptBase.cpp fix T-Deck trackball crashes (#2714) 2023-08-12 19:44:05 -05:00
TrackballInterruptBase.h fix T-Deck trackball crashes (#2714) 2023-08-12 19:44:05 -05:00
TrackballInterruptImpl1.cpp T deck: support keyboard, trackball and touchscreen (#2665) 2023-07-30 07:51:26 -05:00
TrackballInterruptImpl1.h T deck: support keyboard, trackball and touchscreen (#2665) 2023-07-30 07:51:26 -05:00
UpDownInterruptBase.cpp fix upDown ISR (#3612) 2024-04-14 08:11:22 -05:00
UpDownInterruptBase.h fix upDown ISR (#3612) 2024-04-14 08:11:22 -05:00
UpDownInterruptImpl1.cpp Gps cleanup and powersave (#2807) 2023-09-23 23:45:35 -05:00
UpDownInterruptImpl1.h Gps cleanup and powersave (#2807) 2023-09-23 23:45:35 -05:00