Wishlist/Rotary Dialer
From Openmoko
(Difference between revisions)
m |
|||
| Line 11: | Line 11: | ||
value = 0; // necessary substitution | value = 0; // necessary substitution | ||
}else{ | }else{ | ||
| − | value = init - release - 1; // allows for old-school dialing, where it didn't actually matter where your finger was - it only mattered how much it moved. | + | value = init - release - 1; // allows for old-school dialing, where it didn't |
| + | // actually matter where your finger was - it only mattered how much it moved. | ||
} | } | ||
with these area values: | with these area values: | ||
| − | |||
:black type = display value | :black type = display value | ||
| + | :(num) = positional value ''(if different)'' | ||
It would be '''really cool''' (tm) if it moved under your finger and snapped back after you released. | It would be '''really cool''' (tm) if it moved under your finger and snapped back after you released. | ||
Revision as of 06:55, 18 September 2007
So, this is mainly a joke, but it would be an interesting dispay app for the capabilities of the touchscreen environment and is a departure from the standard 'mouse' behavior of most touchscreens.
pseudo-code:
if(release > init){
value = null; // no backward dialing
}elseif((init - release - 1) <= 0){
value = null; // not enough mojo (moko?) in your stroke - try again.
}elseif((init - release - 1) == 10){
value = 0; // necessary substitution
}else{
value = init - release - 1; // allows for old-school dialing, where it didn't
// actually matter where your finger was - it only mattered how much it moved.
}
with these area values:
- black type = display value
- (num) = positional value (if different)
It would be really cool (tm) if it moved under your finger and snapped back after you released.

