Samsung / tizen-docs

This project is for writing Tizen documents for platform and application developers. The documents will be published to the new Tizen portal site.
https://docs.tizen.org/
Other
156 stars 446 forks source link

Remote control keys for applications #1486

Closed saadazghour closed 2 years ago

saadazghour commented 3 years ago

Hi,

i exécuté this source code in my JavaScript file

  if(keyEvent.keyCode === keyCode.KEY_DOWN) { 
       // this  keyEvent.keyCode is  working === 40
        console.log("The CHANNEL DOWN was good", keyEvent.keyCode);

         // but remote contrôle here dosn't work and not goes down  
        tizen.tvinputdevice.registerKey("KEY_DOWN");
   }

Best regards,

annie-samsung commented 3 years ago

@Azghour-Saad, could you let us know which topic are you referring to on docs.tizen.org?

saadazghour commented 3 years ago

Hi @annie-samsung,

https://developer.samsung.com/smarttv/develop/guides/user-interaction/remote-control.html https://www.tizen.org/tv/web_device_api/tvinputdevice

annie-samsung commented 3 years ago

https://developer.samsung.com/smarttv/develop/guides/user-interaction/remote-control.html

@Azghour-Saad, thanks for providing us with the links. https://developer.samsung.com/smarttv/develop/guides/user-interaction/remote-control.html - We do not manage the content on developer.samsung.com, you could try reaching out through the support page: https://developer.samsung.com/support

https://www.tizen.org/tv/web_device_api/tvinputdevice - This content is outdated, you can find the updated API reference here https://docs.tizen.org/application/web/api/latest/device_api/tv/tizen/tvinputdevice.html

saadazghour commented 3 years ago

Hi, @annie-samsung

Thanks a lot 👍