<?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: More Than Two Simultaneous Key Presses and KeyboardEvent.KEY_DOWN Woes</title>
	<atom:link href="http://blog.nobien.net/2008/05/12/more-than-two-simultaneous-key-presses-and-keyboardeventkey_down-woes/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nobien.net/2008/05/12/more-than-two-simultaneous-key-presses-and-keyboardeventkey_down-woes/</link>
	<description>A nerd blog about nerdy things by ... nerdy guys?</description>
	<lastBuildDate>Mon, 30 Aug 2010 06:39:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Jeff</title>
		<link>http://blog.nobien.net/2008/05/12/more-than-two-simultaneous-key-presses-and-keyboardeventkey_down-woes/comment-page-1/#comment-4298</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Fri, 27 Feb 2009 21:42:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nobien.net/?p=62#comment-4298</guid>
		<description>I believe Tony is correct - this is a keyboard hardware issue.

Also, perhaps the reason some people are noticing varying results is that your demo is being lenient when detecting simultaneous key presses.

For example: up+left+ should not work, but it you quickly tap the keys you can get your demo to accept it.  To really gauge whether it&#039;s working, you must press the keys down in succession, slow and deliberately, and hold them down.

To fix the demo, when it detects all three down, it should:
- disable keydown event listeners (but not keyup listeners)
- wait for a small timeout (~50ms)
- then retest to see if the state of all three keys are still down
- re-enable keydown listeners</description>
		<content:encoded><![CDATA[<p>I believe Tony is correct &#8211; this is a keyboard hardware issue.</p>
<p>Also, perhaps the reason some people are noticing varying results is that your demo is being lenient when detecting simultaneous key presses.</p>
<p>For example: up+left+ should not work, but it you quickly tap the keys you can get your demo to accept it.  To really gauge whether it&#8217;s working, you must press the keys down in succession, slow and deliberately, and hold them down.</p>
<p>To fix the demo, when it detects all three down, it should:<br />
- disable keydown event listeners (but not keyup listeners)<br />
- wait for a small timeout (~50ms)<br />
- then retest to see if the state of all three keys are still down<br />
- re-enable keydown listeners</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ricardo</title>
		<link>http://blog.nobien.net/2008/05/12/more-than-two-simultaneous-key-presses-and-keyboardeventkey_down-woes/comment-page-1/#comment-4074</link>
		<dc:creator>Ricardo</dc:creator>
		<pubDate>Tue, 12 Aug 2008 04:09:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nobien.net/?p=62#comment-4074</guid>
		<description>So it is not anything we can do ?? This sounds like it can&#039;t be, there it should be some fix or something, I&#039;m developing a game right now and when i press LEFT then UP then SPACEBAR it doesn&#039;t catch SPACEBAR it works if i press RIGHT then UP then SPACEBAR, if you have a solution please e mail me, richcoto@hotmail.com</description>
		<content:encoded><![CDATA[<p>So it is not anything we can do ?? This sounds like it can&#8217;t be, there it should be some fix or something, I&#8217;m developing a game right now and when i press LEFT then UP then SPACEBAR it doesn&#8217;t catch SPACEBAR it works if i press RIGHT then UP then SPACEBAR, if you have a solution please e mail me, <a href="mailto:richcoto@hotmail.com">richcoto@hotmail.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clint</title>
		<link>http://blog.nobien.net/2008/05/12/more-than-two-simultaneous-key-presses-and-keyboardeventkey_down-woes/comment-page-1/#comment-4054</link>
		<dc:creator>Clint</dc:creator>
		<pubDate>Tue, 10 Jun 2008 00:02:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nobien.net/?p=62#comment-4054</guid>
		<description>By the way. On my microsoft keyboard, all combinations work fine.  Go figure.</description>
		<content:encoded><![CDATA[<p>By the way. On my microsoft keyboard, all combinations work fine.  Go figure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clint</title>
		<link>http://blog.nobien.net/2008/05/12/more-than-two-simultaneous-key-presses-and-keyboardeventkey_down-woes/comment-page-1/#comment-4053</link>
		<dc:creator>Clint</dc:creator>
		<pubDate>Mon, 09 Jun 2008 23:58:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nobien.net/?p=62#comment-4053</guid>
		<description>There is also a difference betweeen keyboard models.  

I discovered this when developing a racing game where we used a combination of space bar, left key and up all had to be pressed to accelerate, turn and jump all at once.  

Microsoft keyboards worked fine, Dell keyboards did not.

You cannot achieve acceleration, and jump during a turn on the Dells, putting some players at a disadvantage.</description>
		<content:encoded><![CDATA[<p>There is also a difference betweeen keyboard models.  </p>
<p>I discovered this when developing a racing game where we used a combination of space bar, left key and up all had to be pressed to accelerate, turn and jump all at once.  </p>
<p>Microsoft keyboards worked fine, Dell keyboards did not.</p>
<p>You cannot achieve acceleration, and jump during a turn on the Dells, putting some players at a disadvantage.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Dobbs</title>
		<link>http://blog.nobien.net/2008/05/12/more-than-two-simultaneous-key-presses-and-keyboardeventkey_down-woes/comment-page-1/#comment-4051</link>
		<dc:creator>Josh Dobbs</dc:creator>
		<pubDate>Mon, 09 Jun 2008 15:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nobien.net/?p=62#comment-4051</guid>
		<description>I tried this on my laptop over the weekend and was only able to get all three keys at once a couple of times. I just tried it on my desktop though and I was able to get all three keys almost every time. Im wondering if it has to do with the keyboard itself or the keyboard driver. Im using a dell keyboard that&#039;s about 5 years old.</description>
		<content:encoded><![CDATA[<p>I tried this on my laptop over the weekend and was only able to get all three keys at once a couple of times. I just tried it on my desktop though and I was able to get all three keys almost every time. Im wondering if it has to do with the keyboard itself or the keyboard driver. Im using a dell keyboard that&#8217;s about 5 years old.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Fendall</title>
		<link>http://blog.nobien.net/2008/05/12/more-than-two-simultaneous-key-presses-and-keyboardeventkey_down-woes/comment-page-1/#comment-3965</link>
		<dc:creator>Tony Fendall</dc:creator>
		<pubDate>Mon, 12 May 2008 21:41:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nobien.net/?p=62#comment-3965</guid>
		<description>The problem comes from the way in which the signal for the pressed keys moves from your keyboard to your computer.  The signal is only 8-bit, and there are limits to how the signal can be changed to represent more than one key being pressed in combination.

Long story short, the guys who designed the origional keyboards made a descision to support all two key combinations, and then selected as many three key combinations as they could support with the hardware.  This meant that some combinations had to be left out, and they had to make a descision about which ones were more important.

It just happens to be that they chose not to support three key combinations which involve the up arrow key.  I do not think there is any solution to this problem...</description>
		<content:encoded><![CDATA[<p>The problem comes from the way in which the signal for the pressed keys moves from your keyboard to your computer.  The signal is only 8-bit, and there are limits to how the signal can be changed to represent more than one key being pressed in combination.</p>
<p>Long story short, the guys who designed the origional keyboards made a descision to support all two key combinations, and then selected as many three key combinations as they could support with the hardware.  This meant that some combinations had to be left out, and they had to make a descision about which ones were more important.</p>
<p>It just happens to be that they chose not to support three key combinations which involve the up arrow key.  I do not think there is any solution to this problem&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
