1. A controller, comprising: a housing; an input lever mounted to said housing, said input lever having two operating parts, wherein pressing one of said operating parts causes rotation of said input lever in a rotational direction, and pressing another of said operating parts causes rotation of said input lever in a direction opposite to said rotational direction; means for detecting a rotational position of said input lever; and means for restoring said input lever to a reference position.