Normal key detection (VK_A) not working

Started by
4 comments, last by skow 21 years, 5 months ago
Hey Ive been using VK_SPACE or VK any thing and its been working fine, my site that i use for all the assigned VK''s says for normal charicters use VK_A for a. This isnt working. Is the site wrong? do i have to include something? Thanks for the help
Advertisement
You can use ''A'' or the VK-code. You can look that up on msdn.
Looked it up there...they say it works

what am i doing wrong ?

Syntax
public static final int VK_A
Description
VK_A thru VK_Z are the same
Just type ''A'' instead...

like:

if (keys(''A''))
DoStuff();
Sweet, worked!
thanks
From memory if you look in the header file which declares VK_SPACE etc. it actually says to use the ascii codes for A through to Z and it does not define VK_A etc.

if MSDN says to use VK_A then it is not consistent with the header (at least when I last looked at it which was about a year ago)

Hope that helps
Toby


Gobsmacked - by Toby Murray

This topic is closed to new replies.

Advertisement