<?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[Getting NumLock and keyboard numeric keypad to work for button presses.]]></title><description><![CDATA[<p dir="auto">While I have been able to get the generic number sequence 0-9 working with my keyboard by using the Keys QML type:</p>
<pre><code>    Keys.onDigit0Pressed: outValue+=0
    Keys.onDigit1Pressed: outValue+=1
    Keys.onDigit2Pressed: outValue+=2
    Keys.onDigit3Pressed: outValue+=3
    Keys.onDigit4Pressed: outValue+=4
    Keys.onDigit5Pressed: outValue+=5
    Keys.onDigit6Pressed: outValue+=6
    Keys.onDigit7Pressed: outValue+=7
    Keys.onDigit8Pressed: outValue+=8
    Keys.onDigit9Pressed: outValue+=9
</code></pre>
<p dir="auto">I was wondering how I might go about getting the numeric keyboard keys to work when the user has NumLock on, is that possible?</p>
]]></description><link>https://forum.qt.io/topic/104329/getting-numlock-and-keyboard-numeric-keypad-to-work-for-button-presses</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Nov 2026 10:24:53 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/104329.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 Jun 2019 20:03:56 GMT</pubDate><ttl>60</ttl></channel></rss>