updated firmware version; added basic irc functionality to web reader app with irc.eastmesh.au as the default suggestion

This commit is contained in:
pelgraine
2026-02-23 18:25:46 +11:00
parent 7f8f70655d
commit 0d750fbb19
4 changed files with 1080 additions and 27 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
#endif
#ifndef FIRMWARE_VERSION
#define FIRMWARE_VERSION "Meck v0.9.2"
#define FIRMWARE_VERSION "Meck v0.9.3"
#endif
#if defined(NRF52_PLATFORM) || defined(STM32_PLATFORM)
+13 -2
View File
@@ -1294,12 +1294,13 @@ void handleKeyboardInput() {
bool urlEdit = wr ? wr->isUrlEditing() : false;
bool passEdit = wr ? wr->isPasswordEntry() : false;
bool formEdit = wr ? wr->isFormFilling() : false;
if (wr && (urlEdit || passEdit || formEdit)) {
bool ircEdit = wr ? wr->isIRCTextEntry() : false;
if (wr && (urlEdit || passEdit || formEdit || ircEdit)) {
webReaderTextEntry = true; // Suppress ui_task.loop() in main loop
wr->handleInput(key); // Updates buffer instantly, no render
// Check if text entry ended (submitted, cancelled, etc.)
if (!wr->isUrlEditing() && !wr->isPasswordEntry() && !wr->isFormFilling()) {
if (!wr->isUrlEditing() && !wr->isPasswordEntry() && !wr->isFormFilling() && !wr->isIRCTextEntry()) {
// Text entry ended
webReaderTextEntry = false;
webReaderNeedsRefresh = false;
@@ -1322,6 +1323,16 @@ void handleKeyboardInput() {
return;
}
// IRC modes: route keys directly through handleInput and render
// immediately. Using webReaderNeedsRefresh doesn't work here because
// that check only runs when webReaderTextEntry is true (else branch),
// but in IRC non-compose mode webReaderTextEntry is false.
if (wr && wr->isIRCMode()) {
wr->handleInput(key);
wr->directRedraw();
return;
}
// Route keys through normal UITask for navigation/scrolling
ui_task.injectKey(key);
return;
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -80,7 +80,7 @@ build_flags =
-D PIN_DISPLAY_BL=45
-D PIN_USER_BTN=0
-D CST328_PIN_RST=38
-D FIRMWARE_VERSION='"Meck v0.9.2A"'
-D FIRMWARE_VERSION='"Meck v0.9.3A"'
-D ARDUINO_LOOP_STACK_SIZE=32768
build_src_filter = ${esp32_base.build_src_filter}
+<../variants/LilyGo_TDeck_Pro>
@@ -154,8 +154,8 @@ build_flags =
-D BLE_PIN_CODE=123456
-D OFFLINE_QUEUE_SIZE=256
-D HAS_4G_MODEM=1
; -D MECK_WEB_READER=1
-D FIRMWARE_VERSION='"Meck v0.9.2-4G"'
-D MECK_WEB_READER=1
-D FIRMWARE_VERSION='"Meck v0.9.3-4G"'
build_src_filter = ${LilyGo_TDeck_Pro.build_src_filter}
+<helpers/esp32/*.cpp>
+<helpers/ui/MomentaryButton.cpp>