Problem with 'OK' button in remote emulator?

More
2 years 2 months ago #2529 by andrew
I've been trying out the new Kodi driver using the smartremote emulator built-in to MyDesigner (as I still don't have hardware). There seems to be a problem with the 'OK' button not working in the emulator. By default it's programmed to execute the Kodi 'Select' command and it just doesn't work. I added the select command to the more ('...') button and it works there so it's not the Kodi driver that's at fault (I think). I also tried adding a different command to the 'OK' button that I knew worked elsewhere ('Left') and that didn't work either. So it looks like the 'OK' button just doesn't work in the emulator. I haven't been able to try it against any other sources or scenes.

Video capture of the behaviour to follow in the next message.

Andrew

Please Log in to join the conversation.

More
2 years 2 months ago - 2 years 2 months ago #2530 by andrew
Video of 'OK' button not working.

Andrew
Last edit: 2 years 2 months ago by andrew.

Please Log in to join the conversation.

More
2 years 2 months ago #2536 by davep
Thanks for finding that. It has a "Return" in the command when it should have an "OK". It is fixed in the SmartRemote sample template that I will release later today.

Install the latest sample when it is released. Then, to fix the issue copy the overlay-remotebuttons.html and overlay-remotebuttons-preview.html files from the sample into your working SmartRemote project folder.
The following user(s) said Thank You: andrew

Please Log in to join the conversation.

More
2 years 2 months ago - 2 years 2 months ago #2537 by andrew
Excellent. Thanks - I will watch out for the new template.

Andrew

Edited to add: Being an impatient sort I've made the change myself in the two template files (putting 'ok' instead of 'return' in the clientcmd code) and it works now. Great!
Last edit: 2 years 2 months ago by andrew.

Please Log in to join the conversation.

More
2 years 2 months ago #2544 by bowlingbeeg
Replied by bowlingbeeg on topic Problem with 'OK' button in remote emulator?
That's cheating ;)

Please Log in to join the conversation.

Time to create page: 0.169 seconds