摘要:
A lamp includes a lamp body, an LED light source, a storage unit, a switch apparatus, and a microprocessor. The storage unit stores a function table recording a relationship between a plurality of types of touches and a plurality of control functions. The switch apparatus includes a touch panel, a touch controller, and an indicator located under the first touch region. The touch panel generates signals in response to touches applied on thereon. The touch panel includes a first touch region and a second touch region. The touch controller receives the signals and determines the type of the touch intended. The microprocessor refers to the function table, and controls the LED light source to execute the control function and to give visual feedback when the touch panel is touched. A switch apparatus is also provided.
摘要:
A lamp includes a lamp body, an LED light source, a storage unit, a switch apparatus, and a microprocessor. The storage unit stores a function table recording a relationship between a plurality of types of touches and a plurality of control functions. The switch apparatus includes a touch panel, a touch controller, and an indicator located under the first touch region. The touch panel generates signals in response to touches applied on thereon. The touch panel includes a first touch region and a second touch region. The touch controller receives the signals and determines the type of the touch intended. The microprocessor refers to the function table, and controls the LED light source to execute the control function and to give visual feedback when the touch panel is touched. A switch apparatus is also provided.
摘要:
An electronic reader includes a storage unit, a display unit, and a processing unit. The processing unit displays a page of a file on the display unit, detects touch signals in response to a slide operation on an input unit; determines in real time a slide distance of a slide and a resizing proportion of the page corresponding to the slide distance to resize the page according to the real time resizing proportion; determines the number of the resized pages that can be displayed side by side in a document window of the display unit according to the last determined resizing proportion of the page; and displays the resized pages in the document window. A method for previewing files is also provided.