Commit Graph

53 Commits

Author SHA1 Message Date
taco 57f93a4196 add GPS UI alert to quad-press 2025-07-16 10:35:48 +10:00
JQ e6ba025f77 add new quad press 2025-06-19 21:52:57 -07:00
JQ cdca6fa52a Merge branch 'dev' into analog-button 2025-06-19 21:50:16 -07:00
Scott Powell b865ac6c23 * refactored SensorManager::toggleGps() 2025-06-20 13:44:58 +10:00
JQ ee68401ad0 fixing button handling to allow both button types simultaneously 2025-06-19 16:47:31 -07:00
Florent de Lamotte 588a986976 t1000e: gps toggle not using board class 2025-06-19 17:26:58 +02:00
Florent de Lamotte 8765b3d040 Gps toggle on 4 clicks 2025-06-18 11:52:16 +02:00
JQ 7c011324f2 feedback 2025-06-08 08:25:54 -07:00
JQ 42ef297241 set text width ahead of width calculation 2025-06-07 22:35:59 -07:00
JQ 1bc94c2ec3 minor companion ui fixes 2025-06-07 15:57:22 -07:00
Rob Loranger da5b0f8524 add basic alert system to companion UI
Adds `_alert[80]` which can be set along with `_needs_refresh`
to trigger a simple on screen alert that lasts 1s at this time.

Implements POC with double press to advert action
2025-06-06 09:11:47 -07:00
Scott Powell 647d712ae8 * Companion: long-press in first 8 seconds now enters CLI Rescue mode 2025-06-04 21:33:48 +10:00
Scott Powell 5729d66a9e * companion: some further refactors after the MyMesh refactor 2025-06-02 15:25:55 +10:00
hank f58a34f5f4 Refactored MyMesh, advert on doublepress
Pulled the class out of main.cpp, made a header to go along with it, externed globals in headers to make them accessible to button code. Added button code to send an advert on double press. Refactored ini files to prevent linker errors.
2025-05-31 19:11:28 -07:00
JQ 4ec3675091 update sound 2025-05-30 22:58:30 -07:00
JQ cf171af72c add ack for quiet mode 2025-05-30 22:55:53 -07:00
JQ db8e72791c usability fixes, fix t114 build src filter 2025-05-30 20:32:49 -07:00
JQ ce87156a43 cleanup 2025-05-28 16:45:41 -07:00
JQ e7761dc9dc initial button manager 2025-05-27 19:10:56 -07:00
seagull9000 049909dde5 Merge branch 'dev' into RTTTL-tone-for-shutdown 2025-05-27 14:21:14 +12:00
seagull9000 30488e6f67 Connect RTTTL shutdown melody to shutdown procedure
Added a new UITask shutdown method to run non-board specific shutdown code.  This avoids having to update all the board files for different hardware.

UITask::shutdown(bool restart = false);

Where the buzzer is available and defined, the RTTTL shutdown melody is played when the button is held down for >5s.
2025-05-27 11:07:51 +12:00
ripplebiz 72d2b05664 Merge pull request #327 from seagull9000/RTTTL-tone-for-Channel-Message
RTTTL-tone-for-Channel-Message
2025-05-24 14:16:30 +10:00
seagull9000 5630533d22 RTTTL-tone-for-Channel-Message
I was a bit remiss in removing the tone for channel message event - this puts one in.

So: DM event - plays a tone (per current)
      Channel Message - new shorter tone

All others aren't defined at present.  Need muting function before we get too carried away.
2025-05-23 20:32:52 +12:00
ripplebiz 22b80a9be7 Merge pull request #289 from adam2872/RAK4631-user-button
Implement user button on RAK4631 using analogue pin 31 (same as MT)
2025-05-23 13:19:32 +10:00
Adam Mealings 9a0b6e5326 Updated to use #if defined... instead of #ifdef 2025-05-20 13:54:31 +01:00
seagull9000 7507f889a5 fix location and naming of enum 2025-05-20 19:33:21 +12:00
seagull9000 f82844f43f RTTTL on message types 2025-05-20 19:09:49 +12:00
Scott Powell 7e90d386e2 * refactored buzzer concept to UITask
* moved buzzer.h/cpp to helpers/ui
2025-05-20 11:52:55 +10:00
ripplebiz fa0456549a Merge pull request #290 from adam2872/Modern-battery-icon
Slightly better battery icon
2025-05-19 14:30:16 +10:00
Scott Powell a73eb9823d * big refactor of the 'display' object. Now defined in variants/*/target modules. 2025-05-19 14:16:55 +10:00
Adam Mealings 22ee164ff6 Make the battery fill based on the percentage slightly smaller to give it a more modern look 2025-05-14 22:17:54 +01:00
Adam Mealings faf043327d RAK4631 analogue user button on input 31 2025-05-14 21:46:39 +01:00
JQ 678f36a57b Implement getTextWidth for display classes
- Added getTextWidth method to DisplayDriver interface
- Implemented getTextWidth in all display classes
- Updated examples to use getTextWidth directly
2025-05-04 18:17:18 -07:00
JQ 77f44f727e merge from dev 2025-05-01 18:10:03 -07:00
Florent de Lamotte 05254bd67b t114 display : some fixes 2025-04-30 11:26:04 +02:00
Jacob Quatier 13654347c7 Merge branch 'ripplebiz:main' into ui-enhancements 2025-04-27 20:37:49 -07:00
ripplebiz b614cef980 Merge pull request #228 from liamcottle/dev
remove pin mode setup from uitask
2025-04-26 20:07:48 +10:00
liamcottle 8f5a2ac832 remove pin mode setup from uitask 2025-04-26 17:54:59 +12:00
Alessandro Genova f51ab11cf1 companion_radio: greatly reduce the status LED usage 2025-04-24 23:22:14 -04:00
JQ 7d7692a13b adding connected check 2025-04-20 19:17:20 -07:00
Jacob Quatier c34dd2a40c UI: battery indicator, boot screen, radio settings 2025-04-20 19:17:02 -07:00
Florent 2d6c834887 std behaviour 2025-04-20 17:10:57 +02:00
Florent cf3d55201f ui : manage colors and ensure fw using ssd1306 still compile 2025-04-11 22:23:47 +02:00
Florent de Lamotte 7534c5143f display and btn handling starts working ... 2025-04-10 16:24:17 +02:00
liamcottle c4d32eba74 remove unused variables 2025-04-08 23:17:22 +12:00
liamcottle 28aa94b899 show firmware version and build date on companion screen 2025-04-08 22:58:17 +12:00
Scott Powell 81bf4f0a08 * companion: SSD1306 display now dynamically detected at runtime. 2025-03-16 13:42:36 +11:00
Scott Powell 6a4b7463ef * some fixes around the powerOff(). Tidy ups 2025-03-14 19:08:41 +11:00
Florent 4cfdb0ef7c better handling of BTN_USER_PRESSED definition 2025-03-10 22:42:52 +01:00
Florent de Lamotte 7bb16cd7f3 enhancement on the UI and support for power off and status_led for t1000e 2025-03-10 18:11:15 +01:00