1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-04 21:48:17 +00:00
Commit Graph

2811 Commits

Author SHA1 Message Date
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
b5f8c2303c
make event ids positive again
They are unsigned on the python side anyway.
2016-09-27 17:24:08 +02:00
Pavol Rusnak
0ba9f6b6bb
add autogenerated messages 2016-09-27 17:24:08 +02:00
Pavol Rusnak
b0a6b3fe15
implement bar with rounder corners 2016-09-27 17:24:08 +02:00
Pavol Rusnak
d2f65d67cd
rename buffer variables, add const where possible 2016-09-27 17:24:07 +02:00
Pavol Rusnak
588be646c0
move text_center, text_right methods into display class 2016-09-27 17:24:07 +02:00
Pavol Rusnak
707b642954
use wider border in emu 2016-09-27 17:24:07 +02:00
Pavol Rusnak
6f9edb349c
add fingerprint layout 2016-09-27 17:24:07 +02:00
Pavol Rusnak
d746c79fb8
add display.text_width 2016-09-27 17:24:07 +02:00
slush0
4a918a4ba0
Stickuv playground 2016-09-27 17:24:06 +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
Pavol Rusnak
b7b57ae53e
new pbkdf2 api with update 2016-09-27 17:24:05 +02:00
Pavol Rusnak
e1d9e96f15
add build instructions 2016-09-27 17:24:05 +02:00
Pavol Rusnak
5c6a7c91f2
iconfgcolor in display.loader works now 2016-09-27 17:24:05 +02:00
Jan Pochyla
c97db79d14
WIP wait fix 2016-09-27 17:24:05 +02:00
Pavol Rusnak
0e18fcce96
add iconcolor to display.loader (not implemented yet) 2016-09-27 17:24:05 +02:00
Pavol Rusnak
c91bca8a8a
improve display.loader 2016-09-27 17:24:04 +02:00
Pavol Rusnak
244002a4a8
fix last commit 2016-09-27 17:24:04 +02:00
Pavol Rusnak
6f4a34b741
add display.loader 2016-09-27 17:24:04 +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
Pavol Rusnak
4eb87b2fd8
first parameter of log methods is now name 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
Pavol Rusnak
34e3b51ba8
return tuple for msg events as well 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
8bc3b9e160
update submodules 2016-09-27 17:24:01 +02:00
Pavol Rusnak
11190fccba
remove extraneous motion events from queue 2016-09-27 17:24:01 +02:00
Pavol Rusnak
9856f96cf7
add hw button to msg.select, build 32-bit unix port by default 2016-09-27 17:24:01 +02:00
Pavol Rusnak
8c3ebf3956
update submodule 2016-09-27 17:24:01 +02:00
Jan Pochyla
38aa463060
make utils.select posix-compat 2016-09-27 17:24:00 +02:00
Pavol Rusnak
1664a4fc29
replace wait with msg.select 2016-09-27 17:24:00 +02:00
slush0
fa52ecfb79
WIP 2016-09-27 17:24:00 +02:00
slush0
f9fa429f84
Use constants 2016-09-27 17:24:00 +02:00
slush0
5cf292e41a
Fixed animate_pulse api 2016-09-27 17:24:00 +02:00
Pavol Rusnak
7559207a62
new message handling using msg.select 2016-09-27 17:23:59 +02:00
slush0
338be18601
Updated to animate_pulse API 2016-09-27 17:23:59 +02:00
slush0
ca991fdde6
Main Trezor even loops starts here 2016-09-27 17:23:59 +02:00
slush0
92eeac3612
Handle exceptions in better way, enable to return to main screen many times. 2016-09-27 17:23:59 +02:00
slush0
ab9141dd95
Configuration & boot of apps 2016-09-27 17:23:59 +02:00
slush0
53ce44111e
Playground moved as an app 2016-09-27 17:23:58 +02:00