1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 09:28:13 +00:00
Commit Graph

392 Commits

Author SHA1 Message Date
Jan Pochyla
71b89c748a
adapt rest of code to touch changes, example works 2016-09-27 17:25:45 +02:00
Jan Pochyla
b6caad6b9b
send touch events on iface in modtrezormsg 2016-09-27 17:25:45 +02:00
Jan Pochyla
421f17bfee
rework events around interfaces, split msg.py to wire.py
Touch events are sent on special interface now.
2016-09-27 17:25:44 +02:00
Jan Pochyla
3677b8142b
add touch event rotation, msg dispatcher, wallet app 2016-09-27 17:25:44 +02:00
Pavol Rusnak
b34b8e6959
change license to TREZOR License 2016-09-27 17:25:39 +02:00
Pavol Rusnak
b0a5297aed
fix gitignore filename 2016-09-27 17:24:24 +02:00
Pavol Rusnak
fc528f5733
add collect_res script, load frrom resources.py if provided 2016-09-27 17:24:24 +02:00
Pavol Rusnak
509962abc6
move trezor.gettext.gettext to trezor.res.gettext 2016-09-27 17:24:24 +02:00
Pavol Rusnak
0b54ae9124
introduce trezor.res module 2016-09-27 17:24:24 +02:00
Pavol Rusnak
bf4d1bdea3
add trezor.gettext 2016-09-27 17:24:24 +02:00
Pavol Rusnak
38b66cb6d8
introduce msg.setup proof-of-concept 2016-09-27 17:24:23 +02:00
Pavol Rusnak
bf02fe0ddf
trezor.msg is now iface aware 2016-09-27 17:24:23 +02:00
Pavol Rusnak
c56719ea8c
regenerated messages 2016-09-27 17:24:23 +02:00
Pavol Rusnak
af9d2cf21f
add mock for trezor.config 2016-09-27 17:24:23 +02:00
Pavol Rusnak
2576d9c3a4
trezor.storage -> trezor.config 2016-09-27 17:24:23 +02:00
Pavol Rusnak
0fb6fc05a5
further changes to trezor.storage 2016-09-27 17:24:22 +02:00
Pavol Rusnak
9ed3b24edf
add default value to trezor.storage.get 2016-09-27 17:24:22 +02:00
Pavol Rusnak
ddf6771981
add trezor.storage 2016-09-27 17:24:22 +02:00
Jan Pochyla
53ab1b8a7d
add protobuf example to playground
Use with python-trezor:

./cmdtr.py -t udp get_public_node -n 0
2016-09-27 17:24:22 +02:00
Jan Pochyla
b41c94dee4
update msg tests 2016-09-27 17:24:22 +02:00
Jan Pochyla
8f49a104bf
make msg functions more readable, add pbuf wrappers 2016-09-27 17:24:21 +02:00
Jan Pochyla
362e835807
MessageType.type -> MessageType.wire_type 2016-09-27 17:24:21 +02:00
Jan Pochyla
f5b802d421
add loads, dumps to MessageType and Message 2016-09-27 17:24:21 +02:00
Jan Pochyla
506f2e0c36
send real wire msgs in send_udp.py 2016-09-27 17:24:21 +02:00
Jan Pochyla
9104d7684c
fix msg.send() 2016-09-27 17:24:21 +02:00
Jan Pochyla
46acb9ff2b
HID_READ is 8 now 2016-09-27 17:24:20 +02:00
Jan Pochyla
87145c2b5f
make the var names in msg.py a bit less similar 2016-09-27 17:24:20 +02:00
Jan Pochyla
4a255e8b77
add write_message 2016-09-27 17:24:20 +02:00
Jan Pochyla
f98fc4c0c8
add reading of logical messages from HID 2016-09-27 17:24:20 +02:00
Pavol Rusnak
627f547fcb
update docu 2016-09-27 17:24:20 +02:00
Pavol Rusnak
dbc57b16d4
simulator border now reflects backlight value 2016-09-27 17:24:19 +02:00
Pavol Rusnak
171a7b3795
display.orientation() and display.backlight() now return current value 2016-09-27 17:24:19 +02:00
Jan Pochyla
c0313cc868
put ui.utils back in ui/__init__.py 2016-09-27 17:24:19 +02:00
Jan Pochyla
f3c9715ff3
split ui code in modules 2016-09-27 17:24:19 +02:00
Pavol Rusnak
5968eb3f5f
add build_cross and build_frozen make targets 2016-09-27 17:24:19 +02:00
Pavol Rusnak
0653ea7edc
update micropython 2016-09-27 17:24:18 +02:00
Pavol Rusnak
18abed64f0
fix black as alpha in ui simulator 2016-09-27 17:24:18 +02:00
Jan Pochyla
3a5d29848b
Wait supports syscall instead of gens now 2016-09-27 17:24:18 +02:00
Jan Pochyla
4fb5dd0421
sleep -> Sleep 2016-09-27 17:24:18 +02:00
Jan Pochyla
9f84e52ea3
add example of swipe
TODO: simplify
TODO: fix bug with black color in oriented modes
2016-09-27 17:24:18 +02:00
Jan Pochyla
412ac2daa7
support multiple event handlers 2016-09-27 17:24:17 +02:00
Pavol Rusnak
8f374f728b
new logo :) 2016-09-27 17:24:17 +02:00
Pavol Rusnak
8f7fc96301
add trezor.crypto.bip39.seed 2016-09-27 17:24:17 +02:00
Pavol Rusnak
910926e25c
add trezor.crypto.bip39 2016-09-27 17:24:17 +02:00
Pavol Rusnak
9222b77a03
improve inflate code 2016-09-27 17:24:17 +02:00
Jan Pochyla
32c7782d89
sleep -> Sleep 2016-09-27 17:24:17 +02:00
Pavol Rusnak
7c2ad210e6
update trezor-crypto 2016-09-27 17:24:16 +02:00
Jan Pochyla
97ac6c52f0
syscalls are objects now, make schedule public 2016-09-27 17:24:16 +02:00
Jan Pochyla
2e280ca358
TOUCH_END is uint(4) now 2016-09-27 17:24:16 +02:00
Jan Pochyla
7bf92f118b
button border 2016-09-27 17:24:16 +02:00