Kodi Community Forum

Full Version: MCE remote on 10 - Cannot get back to fullscreen
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi,

I'm using v10 and I'd like help with an issue I'm having.

I press the info button and I get the small video screen playing in the lower left corner (as expected), however I cannot get back to full screen playback.

From reading other threads it seems the default way to get back is to press teletext, however my remote doesn't have that button.

I'm using this remote if it helps at all.

I tried something simple - changed <record>Screenshot</record> to <record>FullScreen</record> under the global area in /usr/share/xbmc/system/keymaps/remote.xml as I don't use the record button for anything.

Didn't work though.

Ideally I'd like to know how to control all the buttons, but just sorting this one would do for now.

Thanks.
Just a thought, if theres anyone out there that uses this remote could they post their remote.xml if it works for them?

Heres a piccy to help:

Image

Ta.
The fullscreen/file list toggle button appears to now be mapped a button labelled "enter". This button was at the bottom of my MCE remote.

Hope this helps.
Cheers, it is on mine too, but it doesn't do it (I tried every button Smile)
Follow the debug log.
Is it a 'real' MCE remote or a 'fake' MCE remote that sends keyboard presses?

Figure out what IRW is putting out.
Map things appropriately.

You also have to restart XBMC for it to take affect.
My guess would be fake as it was so cheap.

****
Thanks - I'll check the log
I set debugging mode going (once I switched to Confluence as Alaska did a sort of fake debugging it turned out!)

I did the following on the remote (Bold keys are the ones I'm after) - left, Start, up, up, Enter, right, right, Record

I'm not 100% sure, but I checked the log, the new things were these:

23:38:48 T:139844311189568 M:1241112576 DEBUG: OnKey: 61477 pressed, action is Left
23:38:50 T:139844311189568 M:1241182208 DEBUG: SDLKeyboard: scancode: 133, sym: 311, unicode: 0, modifier: 0
23:38:50 T:139844311189568 M:1241182208 DEBUG: SDLKeyboard: scancode: 64, sym: 308, unicode: 0, modifier: 10
23:38:50 T:139844311189568 M:1241182208 DEBUG: SDLKeyboard: scancode: 36, sym: 13, unicode: 13, modifier: 110
23:38:50 T:139844311189568 M:1241182208 DEBUG: OnKey: 847885 pressed, action is
23:38:55 T:139844311189568 M:1241182208 DEBUG: SDLKeyboard: scancode: 111, sym: 273, unicode: 0, modifier: 0
23:38:55 T:139844311189568 M:1241182208 DEBUG: OnKey: 61478 pressed, action is Up
23:38:56 T:139844311189568 M:1241063424 DEBUG: SDLKeyboard: scancode: 111, sym: 273, unicode: 0, modifier: 0
23:38:56 T:139844311189568 M:1241063424 DEBUG: OnKey: 61478 pressed, action is Up
23:38:59 T:139844311189568 M:1241063424 DEBUG: SDLKeyboard: scancode: 36, sym: 13, unicode: 13, modifier: 0
23:38:59 T:139844311189568 M:1241063424 DEBUG: OnKey: 61453 pressed, action is Select
23:39:02 T:139844311189568 M:1241071616 DEBUG: SDLKeyboard: scancode: 114, sym: 275, unicode: 0, modifier: 0
23:39:02 T:139844311189568 M:1241071616 DEBUG: OnKey: 61479 pressed, action is Right
23:39:03 T:139844311189568 M:1241071616 DEBUG: SDLKeyboard: scancode: 114, sym: 275, unicode: 0, modifier: 0
23:39:03 T:139844311189568 M:1241071616 DEBUG: OnKey: 61479 pressed, action is Right
23:39:05 T:139844311189568 M:1241071616 DEBUG: SDLKeyboard: scancode: 37, sym: 306, unicode: 0, modifier: 0
23:39:05 T:139844311189568 M:1241071616 DEBUG: SDLKeyboard: scancode: 27, sym: 114, unicode: 18, modifier: 40
23:39:05 T:139844311189568 M:1241071616 DEBUG: OnKey: 127058 pressed, action is
23:39:07 T:139844311189568 M:1241071616 DEBUG: SDLKeyboard: scancode: 116, sym: 274, unicode: 0, modifier: 0
Given the data I got from debug can someone help me out and tell me how to apply that to the remote.xml file?

Thanks
Okay, I tried using http://xbmcmce.sourceforge.net/ to edit the keymap.xml from /usr/share/xbmc/system/keymaps.

I changed enter to use fullscreen, then togglefullscreen but nothing is working.
Did you ever get this figured out? I am in the same situation. I have a different remote, but can't get back to full screen.

Thanks.
DEBUG: SDLKeyboard: scancode: 27, sym: 114, unicode: 18, modifier: 40

Image
Image

Unless you're running Maverick, in which case everything gets screwed up.
Sadly not, it looks like I'll just have to live with it.

Figured it was a fake though, but does work so there probably is a way.
Use keyboard.xml
From what I have discovered on mine after trying to debug, find the button I want in the debug file, since it doesn't show it as mapped to anything I added it to the IRSSMap.xml using the line

<fullscreen>323597</fullscreen><!-- fullscreen -->

then added to the remote.xml, keyboard.xml, and even the Lircmap.xml the lines

<fullscreen>Fullscreen</fullscreen>.

But to no avail. The one thing that I see as different, is on every other button, the IR Code is a 5 digit number, but the buttons that are not already mapped and that I can't get to map are 6 digit numbers. I don't know if this has anything to do with it, but it might.
1) Stop using lirc, anything lirc related, in fact uninstall lirc. IRSS looks like some "IR Server Suite" Stop using it. Forget it exists.
2) Your remote thinks it is a keyboard. Your OS thinks your remote is a keyboard. Your remote is a keyboard.
3) Get a keyboard. Press a button. See what SDLKeyboard does. Press a modifier key and a button. See what it says.

For example this is the alphabet:
Code:
09:33:30 T:2689828160 M:5455740928   DEBUG: SDLKeyboard: scancode: 0, sym: 97, unicode: 97, modifier: 0
09:33:30 T:2689828160 M:5455765504   DEBUG: SDLKeyboard: scancode: 45, sym: 110, unicode: 98, modifier: 0
09:33:31 T:2689828160 M:5455642624   DEBUG: SDLKeyboard: scancode: 34, sym: 105, unicode: 99, modifier: 0
09:33:31 T:2689828160 M:5457203200   DEBUG: SDLKeyboard: scancode: 4, sym: 104, unicode: 100, modifier: 0
09:33:31 T:2689828160 M:5456576512   DEBUG: SDLKeyboard: scancode: 2, sym: 100, unicode: 101, modifier: 0
09:33:32 T:2689828160 M:5456506880   DEBUG: SDLKeyboard: scancode: 16, sym: 121, unicode: 102, modifier: 0
09:33:32 T:2689828160 M:5456318464   DEBUG: SDLKeyboard: scancode: 32, sym: 117, unicode: 103, modifier: 0
09:33:33 T:2689828160 M:5455712256   DEBUG: SDLKeyboard: scancode: 38, sym: 106, unicode: 104, modifier: 0
09:33:33 T:2689828160 M:5455712256   DEBUG: SDLKeyboard: scancode: 5, sym: 103, unicode: 105, modifier: 0
09:33:35 T:2689828160 M:5462970368   DEBUG: SDLKeyboard: scancode: 8, sym: 99, unicode: 106, modifier: 0
09:33:35 T:2689828160 M:5462396928   DEBUG: SDLKeyboard: scancode: 9, sym: 118, unicode: 107, modifier: 0
09:33:36 T:2689828160 M:5462388736   DEBUG: SDLKeyboard: scancode: 35, sym: 112, unicode: 108, modifier: 0
09:33:36 T:2689828160 M:5462405120   DEBUG: SDLKeyboard: scancode: 46, sym: 109, unicode: 109, modifier: 0
09:33:36 T:2689828160 M:5461913600   DEBUG: SDLKeyboard: scancode: 37, sym: 108, unicode: 110, modifier: 0
09:33:36 T:2689828160 M:5461458944   DEBUG: SDLKeyboard: scancode: 1, sym: 115, unicode: 111, modifier: 0
09:33:37 T:2689828160 M:5461499904   DEBUG: SDLKeyboard: scancode: 15, sym: 114, unicode: 112, modifier: 0
09:33:37 T:2689828160 M:5461508096   DEBUG: SDLKeyboard: scancode: 7, sym: 120, unicode: 113, modifier: 0
09:33:37 T:2689828160 M:5460905984   DEBUG: SDLKeyboard: scancode: 31, sym: 111, unicode: 114, modifier: 0
09:33:38 T:2689828160 M:5460901888   DEBUG: SDLKeyboard: scancode: 41, sym: 59, unicode: 115, modifier: 0
09:33:38 T:2689828160 M:5456723968   DEBUG: SDLKeyboard: scancode: 40, sym: 107, unicode: 116, modifier: 0
09:33:38 T:2689828160 M:5456723968   DEBUG: SDLKeyboard: scancode: 3, sym: 102, unicode: 117, modifier: 0
09:33:38 T:2689828160 M:5456134144   DEBUG: SDLKeyboard: scancode: 47, sym: 46, unicode: 118, modifier: 0
09:33:39 T:2689828160 M:5456158720   DEBUG: SDLKeyboard: scancode: 43, sym: 44, unicode: 119, modifier: 0
09:33:40 T:2689828160 M:5454839808   DEBUG: SDLKeyboard: scancode: 11, sym: 98, unicode: 120, modifier: 0
09:33:40 T:2689828160 M:5454831616   DEBUG: SDLKeyboard: scancode: 17, sym: 116, unicode: 121, modifier: 0
09:33:40 T:2689828160 M:5454233600   DEBUG: SDLKeyboard: scancode: 44, sym: 47, unicode: 122, modifier: 0

Shift, Left Control, Left Alt, Left Command (I'm on a Mac), Right Command, Right Alt, Right Shift + A (I have no Right Control).
Code:
09:35:52 T:2689828160 M:5452840960   DEBUG: SDLKeyboard: scancode: 0, sym: 97, unicode: 65, modifier: 1
09:36:05 T:2689828160 M:5449097216   DEBUG: SDLKeyboard: scancode: 0, sym: 97, unicode: 1, modifier: 40
09:36:12 T:2689828160 M:5445640192   DEBUG: SDLKeyboard: scancode: 0, sym: 97, unicode: 229, modifier: 100
09:36:22 T:2689828160 M:5448773632   DEBUG: SDLKeyboard: scancode: 0, sym: 97, unicode: 97, modifier: 400
09:36:28 T:2689828160 M:5445808128   DEBUG: SDLKeyboard: scancode: 0, sym: 97, unicode: 97, modifier: 800
09:36:35 T:2689828160 M:5449887744   DEBUG: SDLKeyboard: scancode: 0, sym: 97, unicode: 229, modifier: 200
09:36:40 T:2689828160 M:5446856704   DEBUG: SDLKeyboard: scancode: 0, sym: 97, unicode: 65, modifier: 2

Hopefully you can do some pattern matching and figure out how to decode modifiers and syms.

My girlfriend has a fake MCE remote. I sat down and opened an excel spreadsheet and pressed every single button from top to bottom, recorded what the keys were and then made a keyboard.xml map based on that.
Pages: 1 2