<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Virtual key-codes</title>
	<atom:link href="http://boredzo.org/blog/archives/2007-05-22/virtual-key-codes/feed" rel="self" type="application/rss+xml" />
	<link>http://boredzo.org/blog/archives/2007-05-22/virtual-key-codes</link>
	<description>The personal weblog of Peter Hosey.</description>
	<lastBuildDate>Tue, 17 Jan 2012 18:19:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Victoria Wang</title>
		<link>http://boredzo.org/blog/archives/2007-05-22/virtual-key-codes/comment-page-1#comment-379254</link>
		<dc:creator>Victoria Wang</dc:creator>
		<pubDate>Thu, 17 Feb 2011 00:15:48 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2007-05-22/virtual-key-codes#comment-379254</guid>
		<description>I&#039;ve always been frustrated by the lack of a good list of all the keycodes. Thanks so much for posting this—it&#039;s perfect!  Bookmarked.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve always been frustrated by the lack of a good list of all the keycodes. Thanks so much for posting this—it&#8217;s perfect!  Bookmarked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Hosey</title>
		<link>http://boredzo.org/blog/archives/2007-05-22/virtual-key-codes/comment-page-1#comment-298425</link>
		<dc:creator>Peter Hosey</dc:creator>
		<pubDate>Tue, 29 Dec 2009 13:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2007-05-22/virtual-key-codes#comment-298425</guid>
		<description>&lt;p&gt;There are &lt;code&gt;kVK_Return&lt;/code&gt; and &lt;code&gt;kVK_Escape&lt;/code&gt; constants, among others. They&#039;re in Events.h, which you can include by including Carbon/Carbon.h (even on 64-bit).&lt;/p&gt;

&lt;p&gt;It wouldn&#039;t surprise me if some of the key codes differed in the ISO layouts; the tables shown in IM:Tx are for the US layouts. I also don&#039;t know which of the original layouts, if any, the current laptop/Bluetooth keyboards are based on.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>There are <code>kVK_Return</code> and <code>kVK_Escape</code> constants, among others. They&#8217;re in Events.h, which you can include by including Carbon/Carbon.h (even on 64-bit).</p>
<p>It wouldn&#8217;t surprise me if some of the key codes differed in the ISO layouts; the tables shown in IM:Tx are for the US layouts. I also don&#8217;t know which of the original layouts, if any, the current laptop/Bluetooth keyboards are based on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Walter</title>
		<link>http://boredzo.org/blog/archives/2007-05-22/virtual-key-codes/comment-page-1#comment-298423</link>
		<dc:creator>Walter</dc:creator>
		<pubDate>Tue, 29 Dec 2009 13:10:11 +0000</pubDate>
		<guid isPermaLink="false">http://boredzo.org/blog/archives/2007-05-22/virtual-key-codes#comment-298423</guid>
		<description>Cool, I was looking for this. There appear to be no #defines like VK_ESCAPE or VK_RETURN for these virtual keycodes?

On modern keyboards, there are different codes for right Command (54), right Option (61), Right Control (62), and right Shift (60).
My Aluminum keyboard has a paragraph-key which produces keycode 10 (and, surprisingly, unichar German &quot;Ringel-S&quot;). There is an Fn-key that enables the function keys in place of the Help key (the Help key is missing). There also is an eject key that ejects CDROM which also used for putting the system to sleep, but I can not read the keycode using an NSResponder -- it simply does not produce a key event.</description>
		<content:encoded><![CDATA[<p>Cool, I was looking for this. There appear to be no #defines like VK_ESCAPE or VK_RETURN for these virtual keycodes?</p>
<p>On modern keyboards, there are different codes for right Command (54), right Option (61), Right Control (62), and right Shift (60).<br />
My Aluminum keyboard has a paragraph-key which produces keycode 10 (and, surprisingly, unichar German &#8220;Ringel-S&#8221;). There is an Fn-key that enables the function keys in place of the Help key (the Help key is missing). There also is an eject key that ejects CDROM which also used for putting the system to sleep, but I can not read the keycode using an NSResponder &#8212; it simply does not produce a key event.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.170 seconds -->

