Federico Amedeo Izzo
07707ccae5
Keyboard: Send release key events
2021-01-05 10:08:18 +01:00
Federico Amedeo Izzo
89567cce85
UI: remove screen refresh flag
...
screen refresh is not needed anymore since GUI refresh is already done on demand
2021-01-01 21:11:22 +01:00
Federico Amedeo Izzo
94b7be826a
Disable RTC related code on platforms without a functional RTC
2021-01-01 18:58:35 +01:00
Federico Amedeo Izzo
aca804c738
KBD: Fix double events generated from long + short press.
...
The problem was caused by kbd_task() sending an old copy
of the keyboard map.
This was necessary when the events were triggered on key lift
but since now events are sent on key press, this is no more necessary.
2020-12-24 17:29:24 +01:00
Niccolò Izzo
c77cc46fb6
Fix include syntax
...
Interface header includes have acquired the interface prefix, to
distinguish them from regular header includes.
2020-12-24 16:30:13 +01:00
Federico Amedeo Izzo
ce09f2c208
kbd_task: Get timestamp after mutex to avoid getting incorrect timestamp
...
on mutex blocking
2020-12-19 15:45:42 +01:00
Niccolò Izzo
5949a481fa
Add synchronization between radio state and RTX
...
Now the FSM update function takes an additional parameter, which
determines if the radio state has to be synchronized with the RTX state.
If so, the ui_task does the job.
2020-12-18 21:44:59 +01:00
Federico Amedeo Izzo
95a8e99605
kbd_task: Send keyboard event when the key is pressed, not when it's lifted
2020-12-18 18:42:17 +01:00
Federico Amedeo Izzo
400a766f54
kbd_task: improve long-press behaviour
2020-12-17 23:15:56 +01:00
Federico Amedeo Izzo
67aac8a68e
kbd_task: Replace renderingInProgress() check with display mutex
2020-12-17 22:30:08 +01:00
Federico Amedeo Izzo
3c00802330
threads.c: Avoid reading keyboard status while display is rendering
2020-12-17 22:18:44 +01:00
Federico Amedeo Izzo
b5c06d5459
Fix new keyboard task
2020-12-17 22:18:44 +01:00
Federico Amedeo Izzo
749f5a1444
KBD: Correct key pressed/lifted check
2020-12-17 22:18:44 +01:00
Federico Amedeo Izzo
ee6f87c735
KBD: Add missing keyboard state save
2020-12-17 22:18:44 +01:00
Federico Amedeo Izzo
970f3553c4
kbd_task refactoring, add long-press detection logic
2020-12-17 22:18:44 +01:00
Silvano Seva
0d5a703521
Began integrating RTX driver with all the other code
2020-12-13 11:44:07 +01:00
Silvano Seva
6ca3faceaf
Made calls to 'display_renderRows' and 'display_render' blocking, thus not requiring anymore to busy wiat on 'display_renderingInProgress'. Modifications involved only MDx display driver, the others were already blocking.
2020-12-12 10:16:26 +01:00
Niccolò Izzo
20667c87c4
Add low battery warning screen
...
Basic UI composition functions have been moved to the main to accomodate
for pre-boot warning screens.
2020-12-11 14:17:06 +01:00
Federico Amedeo Izzo
8b1d688935
UI: Add initial menu support
2020-12-06 22:28:11 +01:00
Federico Amedeo Izzo
7fffc339f8
Threads: align keyboard task stack size to other tasks
2020-12-06 14:37:21 +01:00
Federico Amedeo Izzo
08776e70eb
Threads: rename status_task to device_task
2020-12-06 14:37:21 +01:00
Federico Amedeo Izzo
0fb3493bef
Events: Complete UI events implementation
2020-12-06 14:37:21 +01:00
Silvano Seva
014262f4df
Modified event_t structure to make it castable to void *
2020-12-06 14:37:21 +01:00
Federico Amedeo Izzo
94b37d9137
Events: More events changes
2020-12-06 14:37:21 +01:00
Federico Amedeo Izzo
3e461e6b80
Add initial events implementation
2020-12-06 14:37:21 +01:00
Federico Amedeo Izzo
e62458119a
Keyboard: Increase thread stack and send multiple events if a key is kept pressed
2020-11-29 09:09:59 +01:00
Federico Amedeo Izzo
869cb673b6
Keyboard: Manage keyboard status with a queue
2020-11-29 08:45:17 +01:00
Silvano Seva
5f669d1c18
Made task stack size platform dependent, since values for ARM target were too small for a correct execution on x64
2020-11-28 21:19:37 +01:00
Federico Amedeo Izzo
efc4820328
Keyboard: Replace uint32_t with keyboard_t
2020-11-28 09:51:18 +01:00
Silvano Seva
8b877ed6d0
Narrowed down RAM usage
2020-11-27 15:07:39 +01:00
Silvano Seva
bf24c31be7
Increased UI task stack size to 1kB, fixed some compiler warnings, code cleanup pass
2020-11-27 10:12:54 +01:00
Federico Amedeo Izzo
82be1afe17
UI: Add VFO frequency change
2020-11-26 22:44:39 +01:00
Federico Amedeo Izzo
00fd786b8e
UI: Switch to alternative splash screen
2020-11-26 21:12:05 +01:00
Silvano Seva
5d964f3358
Reorganised radio state data structure, bringing in new channel_t variable.
2020-11-26 15:25:26 +01:00
Federico Amedeo Izzo
3370e5a3a7
Add shared state logic
2020-11-21 10:46:48 +01:00
Federico Amedeo Izzo
56dfb38c2a
UI: Hide random pixels with a 30ms delayed backlight
2020-11-19 21:41:28 +01:00
Federico Amedeo Izzo
0b8bb486a4
UI: Add VFO Demo text
2020-11-18 10:12:14 +01:00
Federico Amedeo Izzo
39d5912adc
UI: Add 3 font sizes, fix UI padding for new fonts.
2020-11-17 22:50:27 +01:00
Niccolò Izzo
91d0e05af7
Replace OpenGD77 fonts with Adafruit GFX fonts
...
OpenGD77 custom binary font format was replaced with Adafruit GFX
library standard font format, to be able to reuse all the available
fonts, together with the relative tools.
2020-11-17 14:42:23 +01:00
Silvano Seva
1b4b000b66
Adding file left behind in the previous commit
2020-11-15 22:25:43 +01:00