Commit Graph
52 Commits
Author SHA1 Message Date
JQ 65d4c44031 add new quad press 2025-06-19 21:52:57 -07:00
JQ e9c0f54a20 Merge branch 'dev' into analog-button 2025-06-19 21:50:16 -07:00
Scott Powell 8c00fa1f08 * refactored SensorManager::toggleGps() 2025-06-20 13:44:58 +10:00
JQ 427051eb39 fixing button handling to allow both button types simultaneously 2025-06-19 16:47:31 -07:00
Florent de Lamotte e34d38d2d9 t1000e: gps toggle not using board class 2025-06-19 17:26:58 +02:00
Florent de Lamotte 568e4332b2 Gps toggle on 4 clicks 2025-06-18 11:52:16 +02:00
JQ 8fb8e09e12 feedback 2025-06-08 08:25:54 -07:00
JQ b910159213 set text width ahead of width calculation 2025-06-07 22:35:59 -07:00
JQ a3530b4ee2 minor companion ui fixes 2025-06-07 15:57:22 -07:00
Rob Loranger 173aea2bbc 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 de5dd8b443 * Companion: long-press in first 8 seconds now enters CLI Rescue mode 2025-06-04 21:33:48 +10:00
Scott Powell c9a46799b9 * companion: some further refactors after the MyMesh refactor 2025-06-02 15:25:55 +10:00
hank 81a39f04d9 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 cda65dfd0e update sound 2025-05-30 22:58:30 -07:00
JQ 0be8d64ace add ack for quiet mode 2025-05-30 22:55:53 -07:00
JQ c522482edd usability fixes, fix t114 build src filter 2025-05-30 20:32:49 -07:00
JQ f63cb72108 cleanup 2025-05-28 16:45:41 -07:00
JQ 07204aedee initial button manager 2025-05-27 19:10:56 -07:00
seagull9000 f792ad6dbf Merge branch 'dev' into RTTTL-tone-for-shutdown 2025-05-27 14:21:14 +12:00
seagull9000 0e6e6f96bc 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 3a2c5e6e53 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 f226a48886 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 bb5dcce504 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 6cc79b0ec8 Updated to use #if defined... instead of #ifdef 2025-05-20 13:54:31 +01:00
seagull9000 2042033bf6 fix location and naming of enum 2025-05-20 19:33:21 +12:00
seagull9000 a719466871 RTTTL on message types 2025-05-20 19:09:49 +12:00
Scott Powell 30a6b12196 * refactored buzzer concept to UITask
* moved buzzer.h/cpp to helpers/ui
2025-05-20 11:52:55 +10:00
ripplebiz 3ea9c498b8 Merge pull request #290 from adam2872/Modern-battery-icon
Slightly better battery icon
2025-05-19 14:30:16 +10:00
Scott Powell 19d506f4b3 * big refactor of the 'display' object. Now defined in variants/*/target modules. 2025-05-19 14:16:55 +10:00
Adam Mealings c6e698f886 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 a4675adf66 RAK4631 analogue user button on input 31 2025-05-14 21:46:39 +01:00
JQ 8c0e86c171 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 1c2d3ce786 merge from dev 2025-05-01 18:10:03 -07:00
Florent de Lamotte c8dc94cb97 t114 display : some fixes 2025-04-30 11:26:04 +02:00
Jacob Quatier b9d9a703ea Merge branch 'ripplebiz:main' into ui-enhancements 2025-04-27 20:37:49 -07:00
ripplebiz 7a2869ddd0 Merge pull request #228 from liamcottle/dev
remove pin mode setup from uitask
2025-04-26 20:07:48 +10:00
liamcottle 6ba70fd77e remove pin mode setup from uitask 2025-04-26 17:54:59 +12:00
Alessandro Genova b412d74bab companion_radio: greatly reduce the status LED usage 2025-04-24 23:22:14 -04:00
JQ 6c721a47fd adding connected check 2025-04-20 19:17:20 -07:00
Jacob Quatier 7065c1438e UI: battery indicator, boot screen, radio settings 2025-04-20 19:17:02 -07:00
Florent eda4c5d397 std behaviour 2025-04-20 17:10:57 +02:00
Florent 8e04471f89 ui : manage colors and ensure fw using ssd1306 still compile 2025-04-11 22:23:47 +02:00
Florent de Lamotte 41af329c44 display and btn handling starts working ... 2025-04-10 16:24:17 +02:00
liamcottle 54e26a6b42 remove unused variables 2025-04-08 23:17:22 +12:00
liamcottle e213cc2765 show firmware version and build date on companion screen 2025-04-08 22:58:17 +12:00
Scott Powell 968ccc47a3 * companion: SSD1306 display now dynamically detected at runtime. 2025-03-16 13:42:36 +11:00
Scott Powell c00ee96d86 * some fixes around the powerOff(). Tidy ups 2025-03-14 19:08:41 +11:00
Florent d41b535ba8 better handling of BTN_USER_PRESSED definition 2025-03-10 22:42:52 +01:00
Florent de Lamotte afd52de03d enhancement on the UI and support for power off and status_led for t1000e 2025-03-10 18:11:15 +01:00
Scott Powell f32a8093d4 * companion, HeltecV3: now picks random BLE pin for every session (from boot), unless a (non-zero) one stored in _prefs
* companion, WSL3: uses static BLE pin, per build BLE_PIN_CODE define
2025-03-05 19:14:34 +11:00