Invention Application
- Patent Title: Method and Module for Simulating Keyboard
- Patent Title (中): 模拟键盘的方法和模块
-
Application No.: US13239618Application Date: 2011-09-22
-
Publication No.: US20120084548A1Publication Date: 2012-04-05
- Inventor: Tsai-Ming Cheng , Chih-Lung Chen , Shr-Da Mai , Yu-Ting Wang
- Applicant: Tsai-Ming Cheng , Chih-Lung Chen , Shr-Da Mai , Yu-Ting Wang
- Applicant Address: TW Taipei
- Assignee: PEGATRON CORPORATION
- Current Assignee: PEGATRON CORPORATION
- Current Assignee Address: TW Taipei
- Priority: TW099132809 20100928
- Main IPC: G06F9/00
- IPC: G06F9/00 ; G06F3/048 ; H03K17/94

Abstract:
This disclosure provides a method and a module for simulating a keyboard used in an electronic device having a hot key. The method for simulating a keyboard at least includes the following steps. First, whether the hot key is pressed is checked. If the hot key is pressed, a pressing time of the hot key is calculated. If the pressing time is over a first predetermined time, a first scanning code is sent. When the pressing time is within the first predetermined time, whether to send a second scanning code is determined according to the pressing time.
Information query