<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Not getting ALLEGRO_EVENT_KEY_CHAR events for SHIFT/CTRL/ALT keys</title>
		<link>http://www.allegro.cc/forums/view/618805</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sun, 09 Apr 2023 22:58:09 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Hi there!</p><p>About 10 years ago I wrote a <a href="http://forum.arcadecontrols.com/index.php/topic,134445.0.html">Sega Monaco GP Remake</a> game using Allegro and have just noticed a something strange.</p><p>I&#39;m not getting ALLEGRO_EVENT_KEY_CHAR events for keycodes in the range of 215 (ALLEGRO_KEY_LSHIFT) to 226 (ALLEGRO_KEY_CAPSLOCK). </p><p>ALLEGRO_EVENT_KEY_CHAR events work fine for basic keys (I.e. Keycodes in range of 1 (ALLEGRO_KEY_A) to 93 (ALLEGRO_KEY_PAUSE)).</p><p>It is strange because ALLEGRO_EVENT_KEY_DOWN and ALLEGRO_EVENT_KEY_UP events all work fine regardless of keycode.</p><p>I&#39;m running Allegro 5.2.8 on Linux, and Allegro 5.0.10 on Windows.</p><p>Many thanks,</p><p>Ben
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (geecab)</author>
		<pubDate>Sun, 09 Apr 2023 12:37:05 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>KEY_CHAR events are for characters input, not for keypresses. So for instance pressing Ctrl doesn&#39;t give you a character.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (torhu)</author>
		<pubDate>Sun, 09 Apr 2023 18:47:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Ah I see, many thanks for the response!
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (geecab)</author>
		<pubDate>Sun, 09 Apr 2023 22:58:09 +0000</pubDate>
	</item>
</rss>
