<?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[Core2 BtnA, BtnB and BtnC not working with m5button library]]></title><description><![CDATA[<p dir="auto">I've tried M5.BtnA.IsPressed() and that didn't work.</p>
<p dir="auto">So I tried M5.BtnA.addHandler(xxxx,TE_TOUCH) - that didn't work.</p>
<p dir="auto">So tried creating a button that went down to 280 on the Y axis - that also doesn't work.</p>
<p dir="auto">Has anyone got the 3 touch buttons to work?</p>
]]></description><link>https://community.m5stack.com/topic/3011/core2-btna-btnb-and-btnc-not-working-with-m5button-library</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 17:15:02 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3011.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 26 Feb 2021 22:09:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Core2 BtnA, BtnB and BtnC not working with m5button library on Sat, 27 Feb 2021 15:56:41 GMT]]></title><description><![CDATA[<p dir="auto">thanks for the help <a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a> - ive got it working now - i think i must have been pretty tired because I have no idea how all 3 attempts failed.</p>
<p dir="auto">It works with .waspressed and by attaching a handler to events for the M5.BtnA - I have no idea what I was doing wrong all 3 times.</p>
<p dir="auto">I found one issue - it was a silly mistake in my handler logic :D but this does not explain .ispressed not working before.</p>
<p dir="auto">Maybe its something to do with a lack of sensitiviity as well - but the important thing is - they do work and I've got it working.</p>
<p dir="auto">But trying to make a button bigger all the way down to 280 does not seem to work - which is a shame becasue I have to make 2 declarations to the handler. but thats ok.</p>
<p dir="auto">Thank you</p>
]]></description><link>https://community.m5stack.com/post/12702</link><guid isPermaLink="true">https://community.m5stack.com/post/12702</guid><dc:creator><![CDATA[Pensive]]></dc:creator><pubDate>Sat, 27 Feb 2021 15:56:41 GMT</pubDate></item><item><title><![CDATA[Reply to Core2 BtnA, BtnB and BtnC not working with m5button library on Sat, 27 Feb 2021 08:56:19 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/pensive" aria-label="Profile: Pensive">@<bdi>Pensive</bdi></a></p>
<p dir="auto">ah, ok. There is an electrical / electrostatic issue with the three touch buttons as well. Maybe that is what you experience?</p>
<p dir="auto">If M5Core2 is not plugged into USB, not sitting on a conductive surface or not hold in one hand and touched with the other the three touch buttons hardly work.</p>
<p dir="auto">Unfortunately the M5Stack engineers did not implement real touch buttons (which ESP32 provides) but kind of use the edge of the touch screen.</p>
<p dir="auto">I've managed to improve them a bit by adding some additional copper below - see <a href="https://www.gwendesign.ch/kb/m5stack/m5core2/#capacitive-touch-button-improvement" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/12696</link><guid isPermaLink="true">https://community.m5stack.com/post/12696</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sat, 27 Feb 2021 08:56:19 GMT</pubDate></item><item><title><![CDATA[Reply to Core2 BtnA, BtnB and BtnC not working with m5button library on Sat, 27 Feb 2021 08:42:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/felmue" aria-label="Profile: felmue">@<bdi>felmue</bdi></a></p>
<p dir="auto">Yes I am calling the update; I have 9 other buttons working fine and the touch button works just not below the bottom of the screen.</p>
<p dir="auto">I note that that example uses waspressed instead of ispressed.</p>
<p dir="auto">I’ll try the example and I’ll try waspressed instead. Unfortunately this implementation prevents the use of gestures and double taps with these buttons but I can live with that.</p>
<p dir="auto">I would much prefer to get this working through the button library though</p>
]]></description><link>https://community.m5stack.com/post/12695</link><guid isPermaLink="true">https://community.m5stack.com/post/12695</guid><dc:creator><![CDATA[Pensive]]></dc:creator><pubDate>Sat, 27 Feb 2021 08:42:12 GMT</pubDate></item><item><title><![CDATA[Reply to Core2 BtnA, BtnB and BtnC not working with m5button library on Sat, 27 Feb 2021 07:16:15 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/pensive" aria-label="Profile: Pensive">@<bdi>Pensive</bdi></a></p>
<p dir="auto">just to make sure - are you calling <code>M5.update()</code> in your <code>loop()</code>? As far as I recall that is required to update button states.</p>
<p dir="auto">Maybe try this M5Core2 <a href="https://github.com/m5stack/M5Core2/blob/master/examples/Touch/TouchView/TouchView.ino" target="_blank" rel="noopener noreferrer nofollow ugc">example</a> to verify the buttons work ok?</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/12693</link><guid isPermaLink="true">https://community.m5stack.com/post/12693</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sat, 27 Feb 2021 07:16:15 GMT</pubDate></item></channel></rss>