input - university of waterloocs349/s17/slides/20-input_dev… · general input devices adapted to...

32
Input Devices Managing text and positional input CS 349 - Input Devices 1

Upload: others

Post on 28-Jun-2020

4 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Input Devices

Managing text and positional input

CS 349 - Input Devices1

Page 2: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

iPo

d W

heel

CS 349 - Input Devices2

Page 3: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Macb

oo

k W

heel (T

he O

nio

n)

http://www.youtube.com/watch?v=9BnLbv6QYcA

CS 349 - Input Devices3

Page 4: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Cla

ssif

yin

g C

om

pu

ter

Inp

ut

Sensing Method

• mechanical (e.g., switch, potentiometer)

• motion (e.g., accelerometer, gyroscope)

• contact (e.g., capacitive touch, pressure sensor)

• signal processing (e.g., computer vision, audio)

Continuous vs. Discrete

Degrees of Freedom (DOF)

CS 349 - Input Devices4

Page 5: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Sp

ecif

ic v

s. G

en

era

l D

evic

e Specific input devices are optimized for specific tasks

• Problems?

General input devices adapted to many task

• Problems?

Input typically focuses on two specific tasks: Text input and spatial input

• Smartphones/tablets support different forms of interaction, but still

need to handle the same types of input (e.g. text, activating widgets)

CS 349 - Input Devices5

Page 6: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Text Input

QWERTY, keyboard variants, mobile text entry

CS 349 - Input Devices6

Page 7: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Typ

ew

rite

rs a

nd

Qw

ert

y Origin of QWERTY keyboard

• QWERTY is designed to space

“typebars” to reduce jams and

speed typing up, and not designed

to slow typists down.

http://www.daskeyboard.com

1874 QWERTY patent drawing

Remington Mode I (1867)

CS 349 - Input Devices7

Page 8: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Perc

eiv

ed

Qw

ert

y P

rob

lem

s Intuitively, the most optimal way to type is with your hands positioned

over “home row”, to minimize hand and finger movement.

QWERTY is perceived to violate this principle:

• Many common letter combinations

– require awkward finger motions (e.g., tr)

– require a finger to jump over the home row (e.g., br)

– are typed with one hand (e.g., was, were)

• Most typing is done with the left hand, which for most people is the

weaker hand.

• About 16% of typing is done on the lower row, 52% on the top row

and only 32% on the home row.

CS 349 - Input Devices8

Page 9: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Dvo

rak Alternative layout for two-handed keyboard

Dvorak

Qwerty

CS 349 - Input Devices9

Page 10: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Dvo

rak C

orr

ecti

on

s • Letters should be typed by alternating between hands

• For maximum speed and efficiency, the most common letters and

digraphs should be the easiest to type. Thus, about 70% of

keyboard strokes are on home row.

• The least common letters should be on the bottom row, which is

the hardest row to reach.

• The right hand should do more of the typing, because most people

are right-handed.

CS 349 - Input Devices10

Page 11: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Qw

ert

y v

s D

vo

rak Corrections?

• Problems are frequently perceived versus actual, and

are based on a naïve model of typing

• Example: When you leave the home row, it can be

good to stay off the home row

Speed differences?

• Sometimes one faster, sometimes the other faster,

majority of the time no difference

• If you know anything about science, this exactly

implies that there is no discernible difference, and it is

very highly probable that there is no difference at all

http://home.earthlink.net/~dcrehr/whyqwert.html August Dvorak

Speed is not the only (or even the most important) factor in selecting

a keyboard layout.

• Standardized layouts offer additional benefits (approachability)

CS 349 - Input Devices11

Page 12: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Mech

an

ical D

esig

n o

f K

eyb

oard

s • To increase portability of devices, keyboards are frequently downsized

- low-profile keys, smaller keys

• All interfere with typing

• Much more significant problem than Dvorak vs Qwerty keyboards

CS 349 - Input Devices12

Page 13: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

So

ft / V

irtu

al K

eyb

oard

s

iPhone z10

iPad

Virtual Keyboard

Many ergonomic problems

• Feedback, resting of hands significantly

compromised

However,

• improves the aesthetics of device,

• reduces thickness, size, and weight,

• increases usable screen space.

Good option …

• when input can be significantly limited (e.g.

mobile device, iPad used as a media

consumption device)

Bad option…

• if device requires frequent text input (e.g.

touch-typing on an iPad, or using a Surface

Pro - buy the type cover!)

CS 349 - Input Devices13

Page 14: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Keyb

oard

Vari

an

ts

One-handed keyboards

• Frogpad

• Hold down space to shift hands

UMPC thumb keyboard

frogpadfrogpad

iPad thumb keyboard

Thumb keyboards

• Virtual (ultra-mobile PC c. 2006)

• Surface Pro soft keyboard

• iPad split keyboard

CS 349 - Input Devices14

Page 15: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Ch

ord

ing

Keyb

oard

s Englebart’s NLS Keyboard

• Multiple keys together produce letter

• Very fast -- no targeting

Thad Starner’s Twiddler

• For wearable computing input

CS 349 - Input Devices15

Page 16: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Alt

. P

red

icti

ve T

ext

Use characteristics of language to speed task

• Given characters typed so far, what

letters are most likely to be next?

• Given characters typed so far, what

could the word be?

Examples

• T9 input

• Soft keyboard Error Correction

T9isbook

CS 349 - Input Devices16

Page 17: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Alt

. G

estu

res &

Text

Reco

gn

itio

n Graffiti / Unistroke Gestures

• Map single strokes to “enter letter” commands

Natural Handwriting recognition

• Dictionary-based classification algorithms

CS 349 - Input Devices17

Page 18: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Alt

. G

estu

ral Text

Inp

ut

ShapeWriter

http://www.shuminzhai.com/

shapewriter_research.htm

8Pen Keyboard

http://www.8pen.com/

See also: Swype, SwiftKey, Fleksy, …

CS 349 - Input Devices18

Page 19: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Alt

. G

estu

ral Text

Inp

ut

Xiaojun Bi, Shumin Zhai (2016) "IJQwerty: What Difference Does One Key Change Make? Gesture Typing Keyboard Optimization Bounded by One Key Position Change from Qwerty". In Proceedings of CHI 2016 - the SIGCHI Conference on Human Factors in Computing Systems. To appear. 10 pages.

CS 349 - Input Devices19

Page 20: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Text

Inp

ut

Exp

ert

-User

Inp

ut

Rate

s Device Input Rates

Qwerty Desktop 80+ WPM typical, record: 150 WPM for 50 minutes

Qwerty Thumb 60 WPM typical with training (Clarkson et al., CHI 2005)

Soft Keyboards 45 WPM

T9 45 WPM possible for experts (Silverberg et al., CHI 2000)

Gestural ~30 WPM 8Pen, ShapeWriter claims 80 WPM (expert)

Handwriting 33 WPM (Wilkund et al., Human Factors Society, 1987)

Graffiti 2 9 WPM (Koltringer, Grechenig, CHI 2004)

CS 349 - Input Devices20

Page 21: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Text

Inp

ut

Devic

es

: S

um

mary A significant fraction of information conveyed to a computer

is textual in form

On desktop computers, keyboard is primary text input

device

Laptops may alter form, profile, or size in various ways to

conserve space, which has drawbacks

There is a tradeoff between portability and speed when it

comes to text input devices.

CS 349 - Input Devices21

Page 22: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Positional input

Properties of positional input devices: isotonic vs. isometric

Transfer functions, Absolute vs. relative positioning,

Clutching, CD gain

CS 349 - Input Devices22

Page 23: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Po

sit

ion

In

pu

t

Images from http://research.microsoft.com/en-us/um/people/bibuxton/buxtoncollection/browse.aspx

Etch-A-Sketch

http://youtu.be/hq3Et9gOISI

Skedoodle

http://youtu.be/ic1rbFGhJ8g

CS 349 - Input Devices23

Page 24: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Po

sit

ion

In

pu

t

From Buxton, et al, Human Input to Computer

Systems: Theories, Techniques, and

Technologies (not yet published)

http://www.pdp8.net/tek4010/tek4010.shtml

Tektronix 4010

CS 349 - Input Devices24

Page 25: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Pro

pert

ies o

f P

osit

ion

al In

pu

t D

evic

es Force vs. Displacement Sensing

• (most) joysticks = force

• mouse = displacement

Position vs. Rate Control

• (most) joysticks = rate

• mouse = position

Absolute vs. Relative Positioning

• touchscreen = absolute

• mouse = relative

Direct vs. Indirect Contact

• direct = touchscreen

• indirect = mouse

Dimensions Sensed

• 1 = dial, 2 = mouse, 3 = Wiimote

CS 349 - Input Devices25

Page 26: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Fo

rce v

ers

us D

isp

lacem

en

t S

en

sin

g Resistance vs. motion when using the devices.

• Isometric (force) vs. isotonic (displacement) sensing

Elastic Isometricreturns to center

Pure Isometric doesn’t move or reset when released

Isotonic sense displacement from starting point

Elastic isometric devices vs. “pure” isometric• Elastic “snaps” back to centre when released (e.g. track point)• Pure doesn’t snap back (e.g. some joysticks)

CS 349 - Input Devices26

Page 27: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Po

sit

ion

vers

us R

ate

Co

ntr

ol

Tra

nsfe

r

Fu

ncti

on

• Displacement sensing (isotonic) should be mapped to position

• Force sensing (isometric) should be mapped to rate (esp. elastic)

CS 349 - Input Devices27

Page 28: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Ab

so

lute

vers

us R

ela

tive P

osit

ion Absolute position is a direct mapping of input device position to an

output position

• e.g. Touchscreen, where input and output are the same surface

Relative position maps changes in input device position to changes in

output position

• e.g. Mouse, where you move the mouse to affect movement of the

cursor on an output device/screen.

To make relative position work, you need a “clutch”

• Clutching is the panning action taken to continue moving a relative

input device.

Relative doesn’t guarantee a 1:1 mapping between input and

output space

• What do you do when the mouse reaches the edge of your

desk?

CS 349 - Input Devices28

Page 29: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Dir

ect

vers

us I

nd

irect

CS 349 - Input Devices29

Page 30: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Co

ntr

ol-

Dis

pla

y G

ain

(C

D G

ain

)Can add a scale factor when mapping the input device (the

“control”) to the display

A ratio of display movement to control movement called “gain”,

often in terms of input device velocity (so works with rate and

position controls):

CS 349 - Input Devices30

Page 31: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Po

inte

r A

ccele

rati

on For relative pointing, can change CD Gain based on velocity

Casiez et al. (2008)

CS 349 - Input Devices31

Page 32: Input - University of Waterloocs349/s17/slides/20-input_dev… · General input devices adapted to many task • Problems? Input typically focuses on two specific tasks: Text input

Hybrid Absolute and Relative Pointing

http://youtu.be/FZmOBIg5KjM

Hyb

rid

Tech

niq

ue

CS 349 - Input Devices32