The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features

See the new Forums

disable NavigationBar from outside the emulator

Forums » Dev.Opera » Opera TV Content Development Discussions

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

3. November 2011, 10:35:26

coccyx00

Posts: 2

disable NavigationBar from outside the emulator

Is it possible to disable the navigationbar with sending the F1 keycode?
I tried to send it with
localhost:5555/scripts/main.py/request?command=keyClicked&keyId=RC_F1

but the key is mapped with:
event    keycode which charcode
keydown  80      80    undef
keypress 112     112   undef
keyup    80      80    undef

So the F1 key prints a "p".

I cant even send a F1 (or other F keys) with the remote on localhost:5555 (instead the help-page of opera opens)

I'm using Opera 11.52 on Win7 32.

3. November 2011, 11:26:12

Opera Software

lbendig

Posts: 55

Usage of command=keyClicked&keyId=(x) may not work correctly for each RC_ code (just simply that's internal functionality and only codes currently used by web remote controller were tested to be correctly mapped).
However, if you want to hide/show navi bar, you can use RC_MENU code instead (with notice that the code mapping may change in future).

Forums » Dev.Opera » Opera TV Content Development Discussions