[vlc-devel] [PATCH] Small change to let other keyboard layouts have hotkeys

Rémi Denis-Courmont remi at remlab.net
Wed Jan 11 21:44:04 CET 2012


Le mercredi 11 janvier 2012 21:28:09 Militaru Cristian, vous avez écrit :
> I don't think Qt doesn't use this standard for other keyboard layouts
> letters which would not be processed neither in the if nor in the else.

There has to be some mapping. The key events come from the windowing system 
(X11, Win32, ...) in some platform-dependent format. They must be converted to 
Qt key events somewhere. Thus there is intrinsically some kind of mapping, if 
only built in the Qt source code.

> I tried to ask on their channel, but they don't seem to know anything.

IRC has never been a reliable source for facts finding.

> don't know what to do.

> If anybody finds any key which doesn't work properly
> or he/she has any suggestion please tell me.

Non-Latin letters and ideograms do not work in the Qt plugin, though they 
presumably do work in the XCB plugins. Special non-character keys found only 
on some Asian keyboard layouts do not work in any plugin as they lack VLC 
definitions as of yet. Also some non-PC (e.g. Sun) special keys are missing.

I do not know which of those Qt supports, nor how it maps them.

My only point is that you cannot blindly pass unknown Qt symbols to VLC. 

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list