<?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 Actions in NCS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78722/button-actions-in-ncs</link><description>Hi, I want to implement single button with multiple actions 
 Single press, 
 Double press, 
 Long press. 
 
 In NCS v1.4.2 is there an example for this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Aug 2021 13:09:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78722/button-actions-in-ncs" /><item><title>RE: Button Actions in NCS</title><link>https://devzone.nordicsemi.com/thread/325752?ContentTypeID=1</link><pubDate>Thu, 19 Aug 2021 13:09:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7743d5e3-90e3-46b3-8924-4288a5acd2cf</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;There is a &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/basic/button/README.html"&gt;button sample&lt;/a&gt; in Zephyr that shows the use of GPIO input with interrupts. As for double press and long press, Zephyr RTOS has multiple forums where developers can ask questions such as this:&amp;nbsp;&lt;a href="https://www.zephyrproject.org/"&gt;https://www.zephyrproject.org/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>