V-Scan Code Table - VMware 4 User Manual

Powerful virtual machine software for the technical professional
Hide thumbs Also See for 4:
Table of Contents

Advertisement

xkeymap directory. (See above for location.) However, the failure to detect the
keyboard probably means the table isn't completely correct for you.
xkeymap.keysym.<sym> = <v-scan code>
If you use keysym mapping, map keysym <sym> to <v-scan code>. When
you do, <sym> must be an X keysym name and <v-scan code> should be a
C-syntax hexadecimal number (for example, 0x001).
The easiest way to find the keysym name for a key is to run xev or
xmodmap -pk.
The X header file /usr/X11R6/include/X11/keysymdef.h has a
complete list of keysyms. (The name of a keysym is the same as its C constant
without the XK_ prefix.) Most v-scan codes are in
page
269.
The xkeymap tables themselves are also helpful. Use them to fix small errors in
an existing mapping.
xkeymap.fileName = <file-path>
Use the keysym mapping table in <file-path>. A table is a sequence of
configuration lines of the form
<sym> = <v-scan code>
where <sym> is an X keysym name, and <v-scan code> is a C-syntax
hexadecimal number (for example, 0x001). (See the explanation of
xkeymap.keysym above for tips on finding the keysyms and v-scan codes for
your keyboard.)
Compiling a complete keysym mapping is difficult. It is best to start with an
existing table and make small changes.

V-Scan Code Table

These are the v-scan codes for the 104-key U.S. keyboard:
Symbol
Shifted symbol
Esc
1
!
2
@
3
#
4
$
5
%
6
^
7
&
V-Scan Code Table on
Location
V-scan code
0x001
0x002
0x003
0x004
0x005
0x006
0x007
0x008
C H A P T E R 1 1 Connecting Devices
269

Advertisement

Table of Contents
loading

This manual is also suitable for:

Workstation 4

Table of Contents