unifiedremote / Docs

Official API documentation.
149 stars 33 forks source link

documentation for dpad? #21

Open YAMLcase opened 4 years ago

YAMLcase commented 4 years ago

I'm going to use the Kodi dpad layout item found here: https://github.com/unifiedremote/Remotes/blob/f7e1f85cf8e72eefae16b523bae7941181070e19/Main/Kodi Keyboard Dpad/layout.xml

Where's the documentation for this?

Thanks!

pqvst commented 4 years ago

You should be able to add a dpad control like this:

<dpad onTap="select" icon="select">
  <item onTap="up"/>
  <item onTap="right"/>
  <item onTap="down"/>
  <item onTap="left"/>
</dpad>

Add actions in remote.lua for select, up, down, left, right