<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Button Handler</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68502/button-handler</link><description>Hi, 
 
 I am new to BLE Mesh development and Nordic, and need some help. 
 I want to achieve Long Press and Short Press functionality using one of the button of nRF52-DK and use rest 3 buttons for other functionalities. 
 On using, nrf_drv_gpiote_in_init</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Nov 2020 10:36:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68502/button-handler" /><item><title>RE: Button Handler</title><link>https://devzone.nordicsemi.com/thread/282008?ContentTypeID=1</link><pubDate>Thu, 26 Nov 2020 10:36:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61ea504d-5f08-4d53-9f90-2572499b891f</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Ok, maybe you could add some information on how you have tried to implement this?&lt;/p&gt;
&lt;p&gt;Maybe some code that I can take a look at?&lt;/p&gt;
&lt;p&gt;Also, there are so many previous tickets about this particular topic already on devzone. So you should be able to find some useful information if you search the forum.&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button Handler</title><link>https://devzone.nordicsemi.com/thread/281021?ContentTypeID=1</link><pubDate>Fri, 20 Nov 2020 04:20:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:616a2941-5659-4a20-9442-00279ad09b8a</guid><dc:creator>Zolu</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes I have seen the example code but couldn&amp;#39;t find any related code where one button can be used for Long Press Short Press and the others for normal use for the same application.&lt;/p&gt;
&lt;p&gt;Please help.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Zolu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Button Handler</title><link>https://devzone.nordicsemi.com/thread/280815?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2020 10:02:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c246218-5a00-4fb9-b100-ce33c40d1073</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How to generate different events for different buttons is demonstrated in the nRF5 SDK / nRF5 SDK for Mesh.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you looked at one of the examples and how it&amp;#39;s done there?&lt;/p&gt;
&lt;p&gt;Br,&amp;nbsp;&lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>