AZERTY (French) Keyboard layout

If you need any help with XBMC4XBOX, such as installing or using the software, please post it in here.
Post Reply
User avatar
Cissoubaka
Posts: 29
Joined: Fri Jun 21, 2013 4:58 pm
Location: France
Has thanked: 2 times

AZERTY (French) Keyboard layout

Post by Cissoubaka »

Hi,

I'm using sometime an usb keybord to add media when not recognized, but my problem is that the keyboard layout is qwerty, and i'm using an azerty layout.

Where can I change this config?
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: AZERTY (French) Keyboard layout

Post by Dan Dar3 »

@Cissoubaka
It appears there isn't a keymapping for French language, but maybe we can try to make one together.

Can you please take the contents below (click SELECT ALL below to make sure you got all of it), create as a file on your PC and then upload as Q:\languages\French\keyboardmap.xml.

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!--
	Configuration file to map an English layout keyboard to a French layout keyboard.

	Keyboard layouts:
	http://en.wikipedia.org/wiki/Keyboard_layout#AZERTY

	Forum thread:
	http://xbmc.org/forum/showthread.php?t=26796
-->
<keyboard_layout> 

	<char2char>
		<entry inchar=","		outchar=";" />
		<entry inchar="<"	outchar="." />
		<entry inchar="."		outchar=":" />
		<entry inchar=">"	outchar="/" />
		<entry inchar="/"		outchar=";" />
		<entry inchar=";"		outchar="m" />
		<entry inchar=":"		outchar="M" />
		<entry inchar="-"		outchar=")" />
		<entry inchar="\"		outchar="<" />
		<entry inchar="|"		outchar=">" />
		
		<entry inchar="!"		outchar="1" />
		<entry inchar="@"		outchar="2" />
		<entry inchar="#"		outchar="3" />
		<entry inchar="$"		outchar="4" />
		<entry inchar="%"		outchar="5" />
		<entry inchar="^"		outchar="6" />
		<entry inchar="&"	outchar="7" />
		<entry inchar="*"		outchar="8" />
		<entry inchar="("		outchar="9" />
		<entry inchar=")"		outchar="0" />
		
		<entry inchar="1"		outchar="&" />
		<entry inchar="2"		outchar="é" />
		<entry inchar="3"		outchar=""" />
		<entry inchar="4"		outchar="'" />
		<entry inchar="5"		outchar="(" />
		<entry inchar="6"		outchar="-" />
		<entry inchar="7"		outchar="è" />
		<entry inchar="8"		outchar="_" />
		<entry inchar="9"		outchar="ç" />
		<entry inchar="0"		outchar="à" />

		<entry inchar="a"		outchar="q" />
		<entry inchar="m"		outchar="," />
		<entry inchar="M"		outchar="?" />
		<entry inchar="q"		outchar="a" />
		<entry inchar="z"		outchar="w" />
		<entry inchar="w"		outchar="z" />
		
	</char2char>

</keyboard_layout>
You may need to restart XBMC4Xbox for it it take effect - give it a good test and let me know what else needs to be mapped to what, this is just the start. Once we get most of it, I'll create a ticket and request to be included in the next version.

PS: There is a difference between Shutdown menu > Reboot = cold restart (entire Xbox as a machine) and Restart = warm restart (reloads XBM4Xbox + configuration files, you just need this one).
User avatar
Cissoubaka
Posts: 29
Joined: Fri Jun 21, 2013 4:58 pm
Location: France
Has thanked: 2 times

Re: AZERTY (French) Keyboard layout

Post by Cissoubaka »

It's working for the letters in the keyboardmap.xml

for the other letter rest only "m" and ";" to invert but there is a lot of difference with the ponctuation

see : http://fr.wikipedia.org/wiki/Fichier:Clavier-Azerty.svg

and http://fr.wikipedia.org/wiki/Fichier:KB ... andard.svg
User avatar
BuZz
Site Admin
Posts: 1891
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 66 times
Been thanked: 423 times
Contact:

Re: AZERTY (French) Keyboard layout

Post by BuZz »

look at this example for Finnish and do the same sort of thing. I think if you want this done you should at least have a go yourself :)

http://trac.xbmc.org/attachment/ticket/ ... ardmap.xml
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: AZERTY (French) Keyboard layout

Post by Dan Dar3 »

@Cissoubaka
I was kinda hoping you're going to give me a hand here and tell me what you're typing and what appears, maybe even picking up along the way :-)
Ok, updated the listing above, try again and let me know what works and what not.
User avatar
Cissoubaka
Posts: 29
Joined: Fri Jun 21, 2013 4:58 pm
Location: France
Has thanked: 2 times

Re: AZERTY (French) Keyboard layout

Post by Cissoubaka »

Sorry Dan Dar3

i'm not enough quick to work with you.
i'm testing it, it's working for the letter, there is some bug. I can work with you. but tomorrow this xbox will be gone....
I return it to my sys :(

I need to find another one to finish the work on the keyboardmap.xml

I want to say that there is some error in the french language file. i'm ready to correct them but i don't know how to do it.
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: AZERTY (French) Keyboard layout

Post by Dan Dar3 »

@Cissoubaka
It's fine, we can resume the thread when you can, or maybe someone else will pick it up when they find the problem. Whoever does it though would have to confirm what doesn't work in simple terms, as to what key they press and what character appears.
Post Reply