Jump to content
Flirc Forums

Raspberry Pi B+ 2 and FLIRC


diceman01

Recommended Posts

Hi guys I was wondering if someone can help me? I have received my new Pi 2 and running Openelec and the FLIRC plugin won't work. I was wondering does it work with another Kodi distro on the Pi 2? My aim is to use my FLIRC device and have the same key mapping as the my ATV2 as I'm using the Apple remote.

Link to comment
Share on other sites

Yes, that's correct. You don't need the plugin. Did it work on the NUC? Can you fire up an app and make sure it's receiving the remote commands?

I have tested on my pi 2 and I am not seeing any problems. So let's make sure it's not a remote setting. Pairing went okay?

Link to comment
Share on other sites

All good now :) I must of had a corrupt install I just reinstalled Openelec and now and its working thank you. Off topic to original post is there any way I can have the exact same keymap as my jailbroken ATV 2 seeing Im using the silver Apple remote? If there is a guide for it can you point me in the direction please?

Link to comment
Share on other sites

  • 3 weeks later...

Hi diceman01,

 

I'm too like to use my new Raspberry Pi2 like my ATV2 and its silver remote.

Unfortunately, I'm not that lucky right know.

 

I paired the silver remote with the minimalist and the full keybord controllers layout from the flirc program.

 

"Normal" navigation in the Kodi menus works well (up/down, left/right). play/pause works well too.

 

But when a movies is playing, the up/down keys on the remote just do a "skip forward/backward" .

 

I was hoping/expecting that up/down will controll the volume, when a movie is playing, like it was when I used the AppleTV2.

 

 

Is this working with your config?

Can u share some more information (if so).

Cheers!

 

Link to comment
Share on other sites

@FelixFlutsch:

 

If you want to change how Kodi reacts to some keys in specific context (like playing a video) then you need to change that in the Kodi itself:
http://kodi.wiki/view/Keymaps

http://kodi.wiki/view/Keyboard_controls

 

Basically you need to create a keyboard.xml file in the Kodi userdata directory with mappings you want to override.

  • Like 1
Link to comment
Share on other sites

  • 11 months later...

 

Basically you need to create a keyboard.xml file in the Kodi userdata directory with mappings you want to override.

Thank you for that. :-)

Now, a year later, I have used the silver apple remote control with my customized settings/mappings, I must say, its working quite well.

I don't miss the long press anymore, since I just mapped that to a single click on the play/pause button, but hey....the last days I've read, that kodi will supporting a long press :-) Well....ok.

Maybe I'll try it again, but the Keymapping feature of Kodi is so flexible and powerful, that is is not that easy to set up all the keys in all the different menus... In short, I'm happy, I managed to fit the mappings to my "needs". It took me a couple of days playing arount, BUT it was fun too. Setting up a remote control with so less buttons kept me thinking any trying a lot of things...even made me smarter... ;-)

So, mainly, if I remember correclty after such a long time, I fiddled with the volume buttons and the up/down/left/right buttons in different menus of kodi.

 

If anyone will try it or just take a look, here is now my backup to the internet, in case my RaspberryPi2 dies and I don't  have a local backup...

<keymap>
	<playercontrols>
		<keyboard>
			<key id="61568">volumeup</key>
			<key id="61569">volumedown</key>
		</keyboard>
	</playercontrols>
	<videos>
		<keyboard>
			<key id="61472">contextmenu</key>
			<key id="61467">back</key>
		</keyboard>
	</videos>
	<pictures>
		<keyboard>
			<key id="61467">back</key>
		</keyboard>
	</pictures>
	<global>
		<keyboard>
			<key id="61472">contextmenu</key>
		</keyboard>
	</global>
	<slideshow>
		<keyboard>
			<key id="61453">info</key>
		</keyboard>
	</slideshow>
	<fullscreenvideo>
		<keyboard>
			<key id="61467">stop</key>
			<key id="61568">volumeup</key>
			<key id="61569">volumedown</key>
			<key id="61472">playpause</key>
		</keyboard>
	</fullscreenvideo>
	<osdaudiosettings>
		<keyboard>
			<key id="61568">volumeup</key>
			<key id="61569">volumedown</key>
			<key id="61568">up</key>
			<key id="61569">down</key>
			<key id="61570">left</key>
			<key id="61571">right</key>
		</keyboard>
	</osdaudiosettings>
	<music>
		<keyboard>
			<key id="61568">volumeup</key>
			<key id="61569">volumedown</key>
			<key id="61467">back</key>
		</keyboard>
	</music>
	<visualisation>
		<keyboard>
			<key id="61568">volumeup</key>
			<key id="61569">volumedown</key>
			<key id="61472">playpause</key>
			<key id="61570">chapterorbigstepback</key>
			<key id="61571">chapterorbigstepforward</key>
			<key id="61570">chapterorbigstepBack</key>
			<key id="61571">bigstepforward</key>
			<key id="61570">bigstepback</key>
		</keyboard>
	</visualisation>
	<musicosd>
		<keyboard>
			<key id="61568">volumeup</key>
			<key id="61569">volumedown</key>
			<key id="61472">playpause</key>
		</keyboard>
	</musicosd>
	<home>
		<keyboard>
			<key id="61467">previousmenu</key>
			<key id="61467">activatewindow(favourites)</key>
		</keyboard>
	</home>
	<osdvideosettings>
		<keyboard>
			<key id="61570">left</key>
			<key id="61571">right</key>
			<key id="61568">up</key>
			<key id="61569">down</key>
		</keyboard>
	</osdvideosettings>
</keymap>

Enjoy remoting your Kodi/XBMC! :-)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...