Keep the empty edge band out of LVGL so a quick swipe gets its samples (0.2.35)
On 0.2.29 the edge swipe flipped pages, but about half of the quick flicks on Studio 1 ended with "randveeg niet gevuurd: 5 px naar binnen": every touch lasted about 160 ms and produced a single sample. A press in the empty band landed on tile_scroll or the page, and the theme gives every object a pressed style, so LVGL repainted nearly the whole screen on press and on release, blocking the loop and the 20 ms touch polling for as long as the flick took. The page and the tile container are no longer clickable: no state change, no repaint, no events, and the edge swipe on the touchscreen triggers does not need them. While an edge swipe is armed every sample is logged, and the press line carries the contact id, so the sampling can be read from the log. Firmware 0.2.30 for both boards. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -16,7 +16,7 @@ WEEKDAYS = ['ma', 'di', 'wo', 'do', 'vr', 'za', 'zo']
|
||||
REPO = 'https://github.com/MaxGramser/homeassistant_espscreen'
|
||||
REFS = {'cyd': 'main', 'guition': 'main'}
|
||||
# Firmware shipped with this app release; screens below it get an update offer.
|
||||
FIRMWARE_VERSION = '0.2.29'
|
||||
FIRMWARE_VERSION = '0.2.30'
|
||||
ATTRS = frozenset('brightness percentage current_position current_temperature temperature current_humidity min_temp max_temp target_temp_step supported_color_modes hvac_modes hvac_action hs_color color_temp_kelvin min_color_temp_kelvin max_color_temp_kelvin fan_speed_list unit_of_measurement battery_level fan_speed volume_level is_volume_muted media_title options min max step temperature_unit supported_features device_class next_rising next_setting finishes_at duration remaining humidity wind_speed wind_speed_unit apparent_temperature fan_modes swing_modes fan_mode swing_mode'.split())
|
||||
# Attributes whose boolean value the screen needs; every other bool stays behind.
|
||||
BOOL_ATTRS = frozenset(['is_volume_muted'])
|
||||
|
||||
Reference in New Issue
Block a user