Patent ID: 7113455

Claim:
A computer system comprising: a switch for generating different events in correspondence with flip direction and flip times; and means for executing a process corresponding to a type of event generated by said switch, wherein the switch generates a first event upon being flipped in one direction, a second event upon being flipped in the other direction, and a return event upon returning from a flipped state to a neutral state, the executing means executes a process corresponding to the first event when the return event is generated after the first event and executes a process corresponding to the second event when the return event is generated after the second event, and wherein the switch generates a first continue event when the switch is flipped in the one direction during a predetermined time period and generates a second continue event when the switch is flipped in the other direction during the predetermine time period, the executing means executes a process corresponding to the first continue event when the return event is generated after the first continue event and executes a process corresponding to the second continue event when the return event is generated after the second continue event.