<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to IsKeyPressed Function Description</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/0325af1488/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/0325af1488/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/0325af1488/</id><updated>2020-02-27T19:25:20.988000Z</updated><subtitle>Recent posts to IsKeyPressed Function Description</subtitle><entry><title>IsKeyPressed Function Description</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/0325af1488/?limit=25#6274" rel="alternate"/><published>2020-02-27T19:25:20.988000Z</published><updated>2020-02-27T19:25:20.988000Z</updated><author><name>pleveque</name><uri>https://forge.codesys.com/u/pleveque/</uri></author><id>https://forge.codesys.com42d7060763fa677bc60bd667f625b008f1f46dd4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I would be glad to get these too. &lt;/p&gt;
&lt;p&gt;Indeed I took a look at the function description in the SysLibTargetVisu.lib in the libraries manager but I could not manage to find the appropriate arguments.&lt;/p&gt;
&lt;p&gt;I thought: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;nKeyCode was the keyboard code of the key (eg.: 60 for a "q" on a QWERTY keyboard)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;bUp had to be set to FALSE if that's the down state of the key that is to be detected.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;nInfo ... no idea, the ASCII code??&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;But as I said this seemed not to be correct (according to the results it gave me at least).&lt;/p&gt;
&lt;p&gt;Thanking you in advance, &lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Pierre-Etienne LEVEQUE&lt;/p&gt;
&lt;p&gt;La Rochelle, FRANCE&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>IsKeyPressed Function Description</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/0325af1488/?limit=25#4662" rel="alternate"/><published>2020-02-27T19:25:17.538000Z</published><updated>2020-02-27T19:25:17.538000Z</updated><author><name>zimbricd</name><uri>https://forge.codesys.com/u/zimbricd/</uri></author><id>https://forge.codesys.comd2fceb383739629b39d8cb9ea991d72c4c85cb27</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Can anyone tell me what the arrguments are for the IsKeyPressed function?&lt;/p&gt;
&lt;p&gt;Specifically, what are the values for &lt;strong&gt;nKeyCode (INT)&lt;/strong&gt; and &lt;strong&gt;nInfo (INT)&lt;/strong&gt;?&lt;/p&gt;
&lt;p&gt;Dave Zimbrich&lt;/p&gt;
&lt;p&gt;Chicago, IL USA&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>