<?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[How to add touchscreen buttons to the Core S3]]></title><description><![CDATA[<p dir="auto">Somehow I'm unable to find an answer to this seemingly simple question..</p>
<p dir="auto">I have never used UiFlow 1, but it appears to be very easy to add buttons that can be pressed on the touchscreen. A button element appears to be right there in the list on the left hand side.</p>
<p dir="auto">However, in UiFlow 2.0, the button element appears to be missing in the list on the left hand side.</p>
<p dir="auto">How can UI butttons be added in UiFlow 2.0?</p>
<p dir="auto">Thank you in advance for letting me know.</p>
]]></description><link>https://community.m5stack.com/topic/5565/how-to-add-touchscreen-buttons-to-the-core-s3</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 03:33:31 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5565.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 11 Aug 2023 18:44:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to add touchscreen buttons to the Core S3 on Mon, 11 Dec 2023 20:39:54 GMT]]></title><description><![CDATA[<p dir="auto">Hello guys</p>
<p dir="auto">I've created an <a href="https://github.com/felmue/MyM5StackExamples/blob/main/M5CoreS3/TouchButtonABC.py" target="_blank" rel="noopener noreferrer nofollow ugc">example</a> - using a simple button class - which simulates the three buttons (BtnA, B and C) at the bottom of the display.</p>
<p dir="auto"><img src="/assets/uploads/files/1702327187465-uiflow2_m5cores3_btnabc_20231211-resized.png" alt="0_1702327184703_UIFlow2_M5CoreS3_BtnABC_20231211.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/23012</link><guid isPermaLink="true">https://community.m5stack.com/post/23012</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Mon, 11 Dec 2023 20:39:54 GMT</pubDate></item><item><title><![CDATA[Reply to How to add touchscreen buttons to the Core S3 on Sun, 10 Dec 2023 00:28:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gunter-braga" aria-label="Profile: gunter-braga">@<bdi>gunter-braga</bdi></a> thanks for this bit of code!  I got it running but don't find it to be very sensitive.  Sometimes I have to push the button several times to get it to function correctly.  Are there any other ways to implement the touch code that are more responsive?</p>
]]></description><link>https://community.m5stack.com/post/23001</link><guid isPermaLink="true">https://community.m5stack.com/post/23001</guid><dc:creator><![CDATA[jdbaluch]]></dc:creator><pubDate>Sun, 10 Dec 2023 00:28:53 GMT</pubDate></item><item><title><![CDATA[Reply to How to add touchscreen buttons to the Core S3 on Wed, 22 Nov 2023 17:48:46 GMT]]></title><description><![CDATA[<p dir="auto">Dear friends,</p>
<p dir="auto">I also encountered this difficulty in UiFlow 2.0, but I was able to successfully add buttons to the screen in an alternative way, but it worked very well. The code is very simple and only serves to demonstrate a way to implement buttons on the touch screen. On the screen, there are three buttons that, when pressed, adjust the screen brightness according to the brightness percentage written on them.</p>
<p dir="auto"><img src="/assets/uploads/files/1700674926936-uiflow2_block_1700674595732-resized.png" alt="0_1700674916340_uiflow2_block_1700674595732.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/post/22865</link><guid isPermaLink="true">https://community.m5stack.com/post/22865</guid><dc:creator><![CDATA[Gunter Braga]]></dc:creator><pubDate>Wed, 22 Nov 2023 17:48:46 GMT</pubDate></item><item><title><![CDATA[Reply to How to add touchscreen buttons to the Core S3 on Mon, 04 Sep 2023 05:37:08 GMT]]></title><description><![CDATA[<p dir="auto">That's unfortunate to hear.</p>
]]></description><link>https://community.m5stack.com/post/22139</link><guid isPermaLink="true">https://community.m5stack.com/post/22139</guid><dc:creator><![CDATA[IsoEek]]></dc:creator><pubDate>Mon, 04 Sep 2023 05:37:08 GMT</pubDate></item><item><title><![CDATA[Reply to How to add touchscreen buttons to the Core S3 on Fri, 01 Sep 2023 09:31:51 GMT]]></title><description><![CDATA[<p dir="auto">I had the same problem, it seems like on S3, the libraries are not extended that far. I was struggling though with the touch count. When I touch the screen, it increases to 1, and even after a 10sec sleep, and a "touch update", it still shows 1 for another two iterations, until it goes back to 0.</p>
<p dir="auto">With this, it's kind of not usable for me unfortunately. I will have to wait for the next proper version I assume?</p>
]]></description><link>https://community.m5stack.com/post/22114</link><guid isPermaLink="true">https://community.m5stack.com/post/22114</guid><dc:creator><![CDATA[gerber2]]></dc:creator><pubDate>Fri, 01 Sep 2023 09:31:51 GMT</pubDate></item><item><title><![CDATA[Reply to How to add touchscreen buttons to the Core S3 on Thu, 31 Aug 2023 05:59:20 GMT]]></title><description><![CDATA[<p dir="auto">There is probably some funtionality around that that hasnt been added yet (still in alpha)</p>
<p dir="auto">But maybe add the "Touch"  component, and the "Logic" component to your program, and see if you can do something with this type of pattern:</p>
<p dir="auto"><img src="/assets/uploads/files/1693461417421-f51a438e-9bb8-45ac-846a-fc8b277da3b6-image.png" alt="0_1693461433509_f51a438e-9bb8-45ac-846a-fc8b277da3b6-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">(touchpoint is just a variable I added)</p>
<p dir="auto">I havent tried this - I was just looking around in UIflow2 for what could be used.</p>
<p dir="auto">It looks like you might need to manually check if a touch point is within some drawn UI feature, and handle that yourself.</p>
<p dir="auto">In any case, I couldnt find anything that looked like screen/touchbutton event handlers, only physical gpio pin push event handlers.</p>
]]></description><link>https://community.m5stack.com/post/22107</link><guid isPermaLink="true">https://community.m5stack.com/post/22107</guid><dc:creator><![CDATA[mtylerjr]]></dc:creator><pubDate>Thu, 31 Aug 2023 05:59:20 GMT</pubDate></item><item><title><![CDATA[Reply to How to add touchscreen buttons to the Core S3 on Thu, 31 Aug 2023 03:29:16 GMT]]></title><description><![CDATA[<p dir="auto">Did you figure out how to add buttons? I have a S3 coming Monday. I'll share how to do it if I figure it out. I'm new to programming, but I'll do my best to help you.</p>
]]></description><link>https://community.m5stack.com/post/22102</link><guid isPermaLink="true">https://community.m5stack.com/post/22102</guid><dc:creator><![CDATA[IsoEek]]></dc:creator><pubDate>Thu, 31 Aug 2023 03:29:16 GMT</pubDate></item></channel></rss>