brata-hsdc / brata

Automatically exported from code.google.com/p/brata
2 stars 0 forks source link

CTS UI tweaks #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Now that we have a working prototype of the CTS, need to look at it and decide 
on any UI tweaks that we want to make.

Maybe we will want to add some status messages to the display so the user knows 
that the message was successfully submitted.

Also need to decide if the color-cycling is happening at the right point. Mike 
mentioned once he wanted the colors to cycle when the device is in the 
standby/waiting state, but it looks like it's currently happening in another 
state.

Original issue reported on code.google.com by jawaad.a...@gmail.com on 2 Dec 2014 at 5:41

GoogleCodeExporter commented 9 years ago
Need to improve button scan performance.  It is sluggish right now.  
Investigate removing software debounce.

Add appropriate message displays.  This is my plan:

When idle (after reset):

|      CRACK     |
|    THE  SAFE   | (with color cycling bg)

If user presses a button before starting the challenge:

|       Hey!     | (with flashing bg)
|  Scan QR Code  | (revert back to idle state after a few seconds)

When starting challenge:

|Enter code:     |
|    00 00 00    | (with steady bg)

After first click on SELECT:

|2nd ENTER Sends |
|    12 34 56    | (with rapid flashing (Danger!) bg)

After second click on SELECT:

|=Code Submitted=|
|    12 34 56    | (with steady bg (green for success?))

Original comment by ellery.c...@gmail.com on 12 Dec 2014 at 11:36

GoogleCodeExporter commented 9 years ago
Added new message displays.

Added pre-input state (Hey!).

Tweaked some colors and blink rates.

Still to do:  Improve button click rate.

Original comment by ellery.c...@gmail.com on 13 Dec 2014 at 4:25

GoogleCodeExporter commented 9 years ago
Removed software debounce, which improves button click rate and gives 
auto-repeat behavior.

Also made sure cursor is displayed when entering INPUT mode from IDLE or 
SUBMITTING mode.

See the attached state diagram.

Original comment by ellery.c...@gmail.com on 13 Dec 2014 at 5:50

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by jawaad.a...@gmail.com on 14 Jan 2015 at 11:55