Method One:
You need to determine if the keyboard has been digitally changed because the keypad is turned on. See if there is a lock in the indicator area, a number in the lock is lit, and you can see if there is a small number behind the letter on some keys in the letter area of the notebook keyboard, and the color of these letters is different from the other keys. If so, this indicates that the notebook has a
= 2 Quotedbl twosuperiorkeycode = 3 section Threesuperiorkeycode = 4 DollarKeyCode = 5 percentKeyCode = 6 Ampersandkeycode = 7 Slash braceleftKeyCode = 8 Parenleft bracketleftKeyCode = 9 Parenright bracketrightKeyCode = a AKeyCode = b bKeyCode = c CKeyCode = d DKeyCode = e e eurosignKeyCode = f FKeyCode = g gKeyCode = h HKeyCode = i IKeyCode = J JKeyCode = k KKeyCode = l lkeycode = M M muKeyCode = n Nkeycode = o OKeyCode = P pKeyCode Bayi = q q atKeyCode = r RKeyCode = s SKeyCode = t TKeyCode =
q atKeyCode = r RKeyCode = s SKeyCode = t TKeyCode = u uKeyCode = v VKeyCode = w WKeyCode = x xKeyCode = y yKeyCode = Z ZKeyCode = Kp_0 kp_0 (numpad number 0)KeyCode = kp_1 kp_1 (numpad number 1)KeyCode 98 = kp_2 kp_2 (keypad number 2)KeyCode = Kp_3 Kp_3 (numpad number 3)KeyCode = Kp_4 Kp_4 (numpad number 4)KeyCode 101 = kp_5 Kp_5 (keypad number 5)KeyCode 102 = kp_6 Kp_6 (
Let's take a look at the keyboard virtual code before talking about shortcut key programming,
There are two types of keyboard messages:Non-system key wm_keydown wm_keyupSystem key wm_syskeydown wm_syskeyup
Virtual Value
Vk_lbutton 01 left mouse button
Vk_rbutton 02 right-click
Vk_cancel 03 control-Break Process
Vk_mbutton 04
Vk_back 08 backspace key
Vk_tab 09 Tab key
Vk_clear 0C clear key
Vk_return 0d enter
Vk_shift 10 shift key
Vk_control 11 CTRL
Vk_menu 12 Alt key
Vk_pause 13 pause key
Vk_capi
How to register a keyboard device in Linux
[Implementation of the mouse driver in Linux]Input_init () =>=>Class_register ( input_class); registers the input classInput_proc_init (); create directories and files under procRegister_chrdev (input_major, "input", input_fops); register the driver to the cdev_map to be driven.
Drivers/input/keyboard/pxa3xx_keypad.c is our Keyboard device,Pxa3xx_keypad_probe =>Request_irq (irq_enhrot, enhanced_rotary_interrupt,Irced _disabled, "enhanced rotary", (voi
a hint message Text.placeholder = @ "username";//Set border style, only set to display border style Text.borderstyle = uitextborderstyleroundedrect;typedef enum {uitextborderstylenone, uitextborderstyleline, UITextBorderStyleBezel, Uitextborderstyleroundedrect} uitextborderstyle;//Set the keyboard style Text.keyboardtype = Uikeyboardtypenumberpad;typedef enum { Uikeyboardtypedefault,//default keyboard, support for all character uikeyboardtypeasciicapable,//ASCII-enabled default keyboard
.
*/void Dial (String number);
/** * Place a call to the specified number.
* @param number The number is called.
*/void Call (String number);
/** * If There is currently-a call-in-progress, show the call screen. * The DTMF Dialpad may or May is visible initially, depending on * whether it is up when the user last exited th
E Incallscreen.
* @return True if the call screen is shown.
* * Boolean showcallscreen
Number corresponding to the keyboard code, and the keyboard Code corresponds to a number
Suitable for EXT keycode QueryA B C D E F G H I J K L M N O P Q R S T U V W X Y Z
0 1 2 3 4 5 6 7 8 9 Keypad 1 Numeric keypad 2 Keypad 3 Keypad 4 Keypad 5
According to the survey, the current use of notebook users more and more, while the use of notebook in the process of the problems encountered more and more, such as a very simple problem, a user landing QQ can not log on, prompted password verification errors (below), tried a lot of times can not login. Asked me to help him to see what is the problem, I used to read later told him, in fact, is not the password input error, but the notebook keypad let
Suitable for ext keycode QueryA B C D E F G H I J K L M N O P Q R S T U V W X Y Z 0 1
2 3 4 5 6 7 8 9 Keypad 1 Numeric keypad 2 Keypad 3 Keypad 4 Keypad 5 Keypad 6 Keypad 7
0x29
SELECT key.
0x2A
specific to OEM.
Vk_execute
0x2B
EXECUTE key.
Vk_snapshot
0x2C
PRINT screen key.
Vk_insert
0x2D
INS key.
Vk_delete
0x2e
DEL key.
Vk_help
0x2F
Help Key.
0x3a-0x40
Undefined.
Vk_lwin
0x5b
Left Windows key on a Microsoft Natural Keyboard.
Vk_rwin
0x5C
From: http://blog.chinaunix.net/uid-20679498-id-1897112.html Math teachers often use formulas like + = 61 a² ± 2AB + b² = (a ± B) ² cube volume = a square, etc, it is a commonly used formula such as 5 × 6 = 30 × 5 = 6. Sometimes I don't know how to input it in my computer. It's actually quite simple! Here are some tips for you. If you are writing a script in your computer, or using a blog or forum input mode, you can use the following method. You cannot use this method in word. Open notepad an
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.