1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-02 20:48:30 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
Jan Pochyla
ef44e9ded8
add counter to time_queue, kill gens with close() 2016-09-27 17:24:16 +02:00
Jan Pochyla
e382737fda
use friendlier event enums 2016-09-27 17:24:09 +02:00
Jan Pochyla
af482d3da1
experiment with touch event multiplexing
Now we can have 2 buttons!
2016-09-27 17:24:09 +02:00
Jan Pochyla
e8122cc975
__call_at -> __schedule 2016-09-27 17:24:09 +02:00
Jan Pochyla
d612037eda
proof of concept for waiting for events 2016-09-27 17:24:08 +02:00
Jan Pochyla
20dad5a300
style, fix possible exception in run_forever 2016-09-27 17:24:06 +02:00
Jan Pochyla
36dad0137b
fix _Wait 2016-09-27 17:24:06 +02:00
slush0
06515321cf
Reworked wait into class 2016-09-27 17:24:06 +02:00
Jan Pochyla
c97db79d14
WIP wait fix 2016-09-27 17:24:05 +02:00
slush0
2d75289bf3
__wait_for_event integrated into main loop 2016-09-27 17:24:04 +02:00
slush0
3a7e343a43
Implemented log.exception, improved logging
Removed unused code
2016-09-27 17:24:04 +02:00
slush0
b0d9a4b884
Implemented basic loop.wait() 2016-09-27 17:24:03 +02:00
Pavol Rusnak
6a5f16207c
move log to trezor 2016-09-27 17:24:03 +02:00
Jan Pochyla
29e20e302a
fix log 2016-09-27 17:24:03 +02:00
Jan Pochyla
ac28a41d96
hide loop.call_at, use yield or run_forever 2016-09-27 17:24:03 +02:00
Jan Pochyla
e7bfb64502
rework the event loop 2016-09-27 17:24:02 +02:00
Pavol Rusnak
71496913ba
rework logging 2016-09-27 17:24:02 +02:00
slush0
e13d4ac581
Print mouse move to display 2016-09-27 17:24:02 +02:00
slush0
c66dfee6b9
last_sleep info replaced by ring buffer and delay_avg 2016-09-27 17:24:01 +02:00
Pavol Rusnak
1664a4fc29
replace wait with msg.select 2016-09-27 17:24:00 +02:00
slush0
767a41cffd
WIP 2016-09-27 17:23:57 +02:00
slush0
66d10668ac
Former uasyncio, now heavily modified for trezor purposes. 2016-09-27 17:23:56 +02:00