Wishlist/Rotary Dialer

From Openmoko

Revision as of 23:36, 17 September 2007 by Wisp (Talk | contribs)

Jump to: navigation, search

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.

Rotarydial.png

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:

(num) = positional value (if different)
black type = display value
Personal tools

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.

Rotarydial.png

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:

(num) = positional value (if different)
black type = display value