Docsity

Input in User Interface Software - Lecture Slides | CS 4470, Study notes of Software Development

Partial preview of the text

Download Input in User Interface Software - Lecture Slides | CS 4470 and more Study notes Software Development in PDF only on Docsity!

Input (part 1: devices)

Where we are...

 Two largest aspects of building interactive systems: output

and input

 (^) Have looked at basics of output  (^) Now look at input

Input devices

 Keyboard

 (^) Ubiquitous, but somewhat boring…  (^) Quite mature design

 QWERTY key layout

 (^) Where did it come from?

QWERTY key layout

 Originally designed to spread out likely adjacent key presses

to overcome jamming problem of very early mechanical

typewriters

 (^) Often quoted as “intentionally slowing down” typing, but that’s not true  (^) Arrangement of letters to keep typebars from getting stuck  (^) (Common letter pairs on alternating hands)

QWERTY keyboard layout

 Whether or not Dvorak layout is better, it did not displace

QWERTY

 (^) Lesson: once there is sufficient critical mass for a standard it is nearly impossible to dislodge (even if there is an apparently good reason to do so)

Keyboards

 Repetitive Stress Injury

 (^) First comes up here, mouse tends to be a little worse for most people

 Take this seriously for yourself!

 (^) Can be a VERY bit deal  (^) Biggest thing: adjust your work environment (e.g. chair height)

Buttons

 Buttons often bound to particular commands

 (^) e.g., function keys  (^) Improved quite a bit with labels  (^) Software changeable labels would be ideal, but we don’t typically get this

Valuators

 Returns a single value in range

 Major impl. alternatives:

 (^) Potentiometer (variable resistor)  (^) similar to typical volume control  (^) Shaft encoders  (^) sense incremental movements

 Differences?

Locators (AKA pointing devices)

 Returns a location (point)

 (^) two values in ranges  (^) usually screen position

 Examples

 (^) Mice (current defacto standard)  (^) Track balls, joysticks, tablets, touch panels, etc.

Locators

 Two major categories:

 (^) Absolute vs. Relative locators

Relative locators

 Maps movement into rate of change of input

 (^) e.g., joystick (or TrackPoint)

Relative locators

 More accurate (for same range of movement)

 Harder to develop motor skills

 Not bounded (can handle infinite moves)

Q: is a mouse a relative or

absolute locator?

 (^) Answer: No  (^) Third major type: “Clutched absolute”

 Within a range its absolute

 Can disengage movement (pick it up) to extend beyond

range

 picking up == clutch mechanism

Clutched absolute locators

 Very good compromise

 (^) Get one-to-one mapping when “in range” (easy to learn, fast, etc.)  (^) Clutch gives some of benefits of a relative device (e.g., unbounded)

 Trackballs also fall into this category