Patent ID: 8766920

Claim:
A data inputting apparatus, comprising: a plurality of keyswitches, disposed on the data inputting apparatus, the keyswitches respectively having a protruding structure; a first optical module, disposed on a first side of the data inputting apparatus, the first optical module being used for emitting a plurality of first lights along a first direction, the first lights being corresponding to the keyswitches respectively; a first sensing module, used for receiving the first lights and generating a first sensing result based on a first receiving state for the first lights; and a processing module, coupled to the first sensing module, wherein, when a first keyswitch of the keyswitches is pressed, the protruding structure of the first keyswitch blocks at least one of the first lights resulting in the first receiving state changing, the first sensing module adjusts the first sensing result based on the first receiving state; and wherein the protruding structure has at least one passing hole for the first light to pass through, when the first keyswitch is pressed, the protruding structure having the passing hole blocks at least one of the first lights at a specific time and allows other lights to pass through in at least one time period resulting in the first receiving state changing, and the processing module determines the position of the first keyswitch based on the first sensing result generated from a timing of the at least one time period.