#65 x doesn't recognize capital letters

open
nobody
None
1
2011-07-24
2011-07-24
No

zbar_processor_user_wait returns pressed key code. Under x11 this code is always lowercase. I located a responsible fragment in zbar/processor/x.c:

case KeyPress: {
KeySym key = XLookupKeysym(&ev.xkey, 0);
if(IsModifierKey(key))
break;
if((key & 0xff00) == 0xff00)
key &= 0x00ff;
zprintf(16, "KeyPress(%04lx)\n", key);
/* FIXME this doesn't really work... */
return(_zbar_processor_handle_input(proc, key & 0xffff));
}

I am unable to fix it. Maybe someone can give an advice?

Discussion

  • Jarek Czekalski

    Jarek Czekalski - 2011-07-24
    • priority: 5 --> 1
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks