Physical input devices :
1.Interaction:
- In the field of computer graphics, interaction refers to the manner in which the application program communicates with input and output devices of the system.
-
INPUT DEVICES :
- Input devices are the devices which provide input to the computer
graphics application program. Input devices can be categorized in two
ways:
- Physical input devices
- Logical input devices
PHYSICAL INPUT DEVICES :
-
1) Key board devices:
- like standard keyboard, flexible keyboard, handheld keyboard etc.
- These are used to provide character input like letters, numbers, symbols etc.
-
2) Pointing devices :
- like mouse, track ball, light pen etc. These are used to specify the position on the computer screen.
-
1. KEYBOARD:
- It is a general keyboard which has set of characters.
- We make use of ASCII value to represent the character i.e. it interacts with the
programmer by passing the ASCII value of key pressed by programmer.
- Input
can be given either single character of array of characters to the program.
-
2. MOUSE AND TRACKBALL:
- These are pointing devices used to specify the
position.
- Mouse and trackball interacts with the application program by
passing the position of the clicked button.
- Both these devices are similar in use
and construction. In these devices, the motion of the ball is converted to signal
sent back to the computer by pair of encoders inside the device.
- These
encoders measure motion in 2-orthogonal directions.
- The values passed by the pointing devices can be considered as positions
- and converted to a 2-D location in either screen or world co-ordinates.
- Thus, as a mouse moves across a surface, the integrals of the velocities yield x,y values
that can be converted to indicate the position for a cursor on the screen.
- These devices are relative positioning devices
- because changes in the position of the ball yield a position in the user program.
-
3. DATA TABLETS :
- :It provides absolute positioning. It has rows and
columns of wires embedded under its surface.
- The position of the stylus is
determined through electromagnetic interactions between signals travelling
through the wires and sensors in the stylus.
The advantage is that it is designed using mechanical elements such as springs
and dampers which offer resistance to the user while pushing it. Such
mechanical feel is suitable for application such as the flight simulators, game
controllers etc.