<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Input]]></title><description><![CDATA[<p>Ich habe auf GP Wiki einen Artikel gefunden, wo beschrieben ist, wie man eine Input-Klasse machen kann.<br />
<a href="http://gpwiki.org/index.php/SDL:Tutorials:Complete_2D_Engine_Input_Core" rel="nofollow">http://gpwiki.org/index.php/SDL:Tutorials:Complete_2D_Engine_Input_Core</a></p>
<pre><code class="language-cpp">class cInput
{
	public:
		cInput();
		~cInput();

		bool IsKeyDown(eKey Key);
		bool IsKeyDown(eKey Key, Bool UpperCase);

		Uint32 TimeHeld(eKey Key);
		Uint32 TimeHeld(eKey Key, Bool UpperCase);

		void Update();
};
</code></pre>
<p>Meine Fragen:</p>
<p>a.: soll ich GetAsyncKeyState verwenden?<br />
b.: wie kann ich prüfen, auf Klein und Großschreibung?<br />
c.: wie kann ich den TimeHeld proggen?</p>
<p>mfg TcH</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/137475/input</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 03:29:39 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/137475.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 17 Feb 2006 17:54:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Input on Fri, 17 Feb 2006 18:54:32 GMT]]></title><description><![CDATA[<p>Ich habe auf GP Wiki einen Artikel gefunden, wo beschrieben ist, wie man eine Input-Klasse machen kann.<br />
<a href="http://gpwiki.org/index.php/SDL:Tutorials:Complete_2D_Engine_Input_Core" rel="nofollow">http://gpwiki.org/index.php/SDL:Tutorials:Complete_2D_Engine_Input_Core</a></p>
<pre><code class="language-cpp">class cInput
{
	public:
		cInput();
		~cInput();

		bool IsKeyDown(eKey Key);
		bool IsKeyDown(eKey Key, Bool UpperCase);

		Uint32 TimeHeld(eKey Key);
		Uint32 TimeHeld(eKey Key, Bool UpperCase);

		void Update();
};
</code></pre>
<p>Meine Fragen:</p>
<p>a.: soll ich GetAsyncKeyState verwenden?<br />
b.: wie kann ich prüfen, auf Klein und Großschreibung?<br />
c.: wie kann ich den TimeHeld proggen?</p>
<p>mfg TcH</p>
]]></description><link>https://www.c-plusplus.net/forum/post/996902</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/996902</guid><dc:creator><![CDATA[Tc++H]]></dc:creator><pubDate>Fri, 17 Feb 2006 18:54:32 GMT</pubDate></item><item><title><![CDATA[Reply to Input on Fri, 17 Feb 2006 19:27:10 GMT]]></title><description><![CDATA[<p>ich würde mich auch freuen, wenn jemand die Methoden der Klasse schreiben kann.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/996955</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/996955</guid><dc:creator><![CDATA[Tc++H]]></dc:creator><pubDate>Fri, 17 Feb 2006 19:27:10 GMT</pubDate></item><item><title><![CDATA[Reply to Input on Sat, 18 Feb 2006 09:52:07 GMT]]></title><description><![CDATA[<p>Ht keiner eine Idee?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/997110</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/997110</guid><dc:creator><![CDATA[Tc++H]]></dc:creator><pubDate>Sat, 18 Feb 2006 09:52:07 GMT</pubDate></item><item><title><![CDATA[Reply to Input on Sat, 18 Feb 2006 15:12:45 GMT]]></title><description><![CDATA[<p>Wenn Du jemand zum Programmieren suchst, solltest Du es hier posten:<br />
<a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-11.html" rel="nofollow">http://www.c-plusplus.net/forum/viewforum-var-f-is-11.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/997274</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/997274</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Sat, 18 Feb 2006 15:12:45 GMT</pubDate></item></channel></rss>