Mercurial > public > ostc4
comparison Discovery/Src/tHome.c @ 386:39c147e47c1c MotionDetection
Added key direction awarness to t3, t5 and t6 views:
In case of big font views the handling of motion events were not considered, As results all events caused a menu change in th same direction.
author | ideenmodellierer |
---|---|
date | Mon, 21 Oct 2019 21:16:53 +0200 |
parents | 427ae9f8e28e |
children | b560e474e319 |
comparison
equal
deleted
inserted
replaced
385:0cd862e501f6 | 386:39c147e47c1c |
---|---|
347 tHome_tick_count_cview = 0; | 347 tHome_tick_count_cview = 0; |
348 if(settingsGetPointer()->design == 7) | 348 if(settingsGetPointer()->design == 7) |
349 t7_change_customview(action); | 349 t7_change_customview(action); |
350 else | 350 else |
351 if(settingsGetPointer()->design == 3) | 351 if(settingsGetPointer()->design == 3) |
352 t3_change_customview(); | 352 t3_change_customview(action); |
353 else | 353 else |
354 if(settingsGetPointer()->design == 5) | 354 if(settingsGetPointer()->design == 5) |
355 t5_change_customview(); | 355 t5_change_customview(action); |
356 else | 356 else |
357 if(settingsGetPointer()->design == 6) | 357 if(settingsGetPointer()->design == 6) |
358 t6_change_customview(); | 358 t6_change_customview(action); |
359 } | 359 } |
360 | 360 |
361 | 361 |
362 void tHome_tick(void) | 362 void tHome_tick(void) |
363 { | 363 { |