Jump to content

The V C++ GUI Framework:Key Codes: Difference between revisions

From EDM2
Created page with "=Symbolic Key Codes= ==Synopsis== ; '''Header:''' : <tt><v/vkeys.h></tt> ==Description== Because each platform defines values of keys differently, '''V''' provides its own sy..."
 
Ak120 (talk | contribs)
mNo edit summary
Line 2: Line 2:


==Synopsis==
==Synopsis==
; '''Header:'''
; '''Header:'''
: <tt><v/vkeys.h></tt>
: <tt><v/vkeys.h></tt>


==Description==
==Description==
Because each platform defines values of keys differently, '''V''' provides its own symbolic set of key code values. '''V''' uses the standard ASCII values for the normal printing keys below the value 0x80. The following are the symbols defined for other key codes:
Because each platform defines values of keys differently, '''V''' provides its own symbolic set of key code values. '''V''' uses the standard ASCII values for the normal printing keys below the value 0x80. The following are the symbols defined for other key codes:
 
<code>
<code><font size="-1">
  VKM_Shift        VKM_Ctrl      VKM_Alt
  VKM_Shift        VKM_Ctrl      VKM_Alt
   
   
Line 29: Line 25:
  vk_KP_0 - vk_KP_9
  vk_KP_0 - vk_KP_9
  vk_F1 - vk_F16
  vk_F1 - vk_F16
</code>
</font></code>


==See Also==
==See Also==
[[The V C++ GUI Framework:vWindow|vWindow:KeyIn]]
[[The V C++ GUI Framework:vWindow|vWindow:KeyIn]]


[[Category:Tools Articles]]
[[Category:V C++ GUI Framework]]

Revision as of 17:39, 1 March 2017

Symbolic Key Codes

Synopsis

Header:
<v/vkeys.h>

Description

Because each platform defines values of keys differently, V provides its own symbolic set of key code values. V uses the standard ASCII values for the normal printing keys below the value 0x80. The following are the symbols defined for other key codes:

VKM_Shift         VKM_Ctrl       VKM_Alt

vk_BackSpace      vk_Tab          vk_Linefeed
vk_Return         vk_Pause        vk_Escape
vk_Delete         vk_BackTab      vk_Home
vk_Left           vk_Up           vk_Right
vk_Down           vk_Page_Up      vk_Page_Down
vk_End            vk_Insert       vk_KP_Enter
vk_KP_Home        vk_KP_Left      vk_KP_Up
vk_KP_Right       vk_KP_Down      vk_KP_Page_Up
vk_KP_Page_Down   vk_KP_End       vk_KP_Insert
vk_KP_Delete      vk_KP_Equal     vk_KP_Multiply
vk_KP_Add         vk_KP_Subtract  vk_KP_Decimal
vk_KP_Divide      vk_space        vk_asciitilde

vk_KP_0 - vk_KP_9
vk_F1 - vk_F16

See Also

vWindow:KeyIn