<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Standard keyboard handling on non-standard keyboard</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/7bfd114b72/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/7bfd114b72/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/7bfd114b72/</id><updated>2020-06-17T04:22:24.769000Z</updated><subtitle>Recent posts to Standard keyboard handling on non-standard keyboard</subtitle><entry><title>Standard keyboard handling on non-standard keyboard</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/7bfd114b72/?limit=25#51d9" rel="alternate"/><published>2020-06-17T04:22:24.769000Z</published><updated>2020-06-17T04:22:24.769000Z</updated><author><name>alexey</name><uri>https://forge.codesys.com/u/alexey/</uri></author><id>https://forge.codesys.com0079767d5924afcc6f3028faddebc94fe4308ef3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi guys! I have a PLC without touch screen and 4 hardware key buttons:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://crosscontrol.com/en-us/products/ccpilot-vi" rel="nofollow"&gt;https://crosscontrol.com/en-us/products/ccpilot-vi&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;CrossControl made these 4 hardware buttons as standard keyboard keys  'C', 'D', 'E', 'F'. From the Visualization Manager's point of view if I activate standard keyboard handling I will get 4 keyboard buttons  'C', 'D', 'E', 'F' which are a bit useless for visualization as I don't have 'UP', 'DOWN', 'LEFT', 'RIGHT' arrows for table navigation, 'ENTER', 'TAB', 'ESC' for dialogs, etc... I can do simple things with Default Hotkeys or visualization-specific Hotkeys Configuration , no problem, but it will turns visualization and related code into a mess of hundrends small objects and it will be very hard to modify and maintain in the future.&lt;/p&gt;
&lt;p&gt;Question! Is there any way to swap AND/OR simulate standard key definition from the code on-the-fly? Say I need to turn 'C' into 'UP', 'D' into 'DOWN', 'E' into 'ENTER' and 'F' into 'TAB' standard keyboard keys on one visualization page (I will use CurrentVisu := ) and define something else for these 4 buttons on another? &lt;/p&gt;
&lt;p&gt;My plan has not progressed past defining Default Hotkeys in Visualization manager to execute simple code:&lt;/p&gt;
&lt;p&gt;&lt;img src="./attachment/1.png" width="100%"/&gt;&lt;/p&gt;
&lt;p&gt;After that I need to send "fake" keyboard keys back to Visualization Manager. How to do it the easiest way?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>