Note 2 Pen trigger?

General discussions about Automagic and automation in general

Moderator: Martin

Post Reply
thorx9
Posts: 3
Joined: 13 May 2014 12:02

Note 2 Pen trigger?

Post by thorx9 » 11 Aug 2014 10:48

Is it possible to trigger off of the Note 2 pen being removed or inserted? I can't find this as a trigger.

Thanks!

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Note 2 Pen trigger?

Post by Martin » 12 Aug 2014 15:56

Hi,

No sorry, Automagic has no built-in trigger to detect pen removed/inserted events. Maybe the device logs the events to the system log so you could react to the events using a trigger Command Output with logcat (root required).

Regards,
Martin

PaulyQ
Posts: 29
Joined: 18 Oct 2013 20:36

Re: Note 2 Pen trigger?

Post by PaulyQ » 13 Aug 2014 16:09

The attached should trigger when it's inserted or removed:

http://automagic4android.com/flow.php?i ... e17c8b4a2b

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Note 2 Pen trigger?

Post by Martin » 13 Aug 2014 16:12

Great! I will add this to the examples of general broadcast.

Post Reply