Trouble with German Keyboard

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Germanunkol
Party member
Posts: 706
Joined: Fri Jun 22, 2012 4:54 pm
Contact:

Trouble with German Keyboard

Post by Germanunkol » Thu Jun 28, 2012 4:27 pm

Hi,
When I try to enter text using a German keyboard, all the Keys are captured correctly, except for those which don't exist in english (or so it seems).
Using the following, it prints nothing (i.e. the function isn't called) when I press ü, ö or ö or ß. This leads to me not being able to print '?' either, because it's on the same key as 'ß'.

Code: Select all

function love.keypressed(key, unicode)
	print(key .. " " .. unicode)
end
I have searched the net and these forums and found nothing. Sorry if I overlooked anything.
trAInsported - Write AI to control your trains
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de

User avatar
Boolsheet
Inner party member
Posts: 780
Joined: Wed Dec 29, 2010 4:57 am
Location: Switzerland

Re: Trouble with German Keyboard

Post by Boolsheet » Fri Jun 29, 2012 7:39 am

It's a known problem. There's already a ticket in the issue tracker for it.
Shallow indentations.

Germanunkol
Party member
Posts: 706
Joined: Fri Jun 22, 2012 4:54 pm
Contact:

Re: Trouble with German Keyboard

Post by Germanunkol » Fri Jun 29, 2012 2:06 pm

Thanks! Will keep track of it.
Too bad it's only fixable in the source code... I wanted to distribute .love files when the game is done, and then it wouldn't work when people download the 0.80 version.

Oh well. No Question marks in my game then.
trAInsported - Write AI to control your trains
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de

Post Reply

Who is online

Users browsing this forum: cazura and 7 guests