Re: [Freerdp-devel] Japanese Keyboard not working

2012-03-29 Thread Mads Kiilerich
Hi I assume you are using XKBFILE? (Testing without XKBFILE could perhaps be relevant too, but that will probably reveal other issues so let's forget that for now.) Is the keyboard layout detected correctly or do you specify it with -k? Are you using 0x0411 or 0xE0010411? Why and why not?

Re: [Freerdp-devel] Japanese Keyboard not working

2012-03-27 Thread Seiji T
Just realized attachment is not allowed. Here is the patch, I meant to attach in the previous email. --BEGIN-- diff --git a/libfreerdp-core/gcc.c b/libfreerdp-core/gcc.c index 01ed01a..c8014cf 100644 --- a/libfreerdp-core/gcc.c +++ b/libfreerdp-core/gcc.c @@ -659,9 +659,12 @@ void gcc_write_client

Re: [Freerdp-devel] Japanese Keyboard not working

2012-03-27 Thread Seiji T
Mads, As you have stated, kbd_* were the cause of the problem (Windows RDP client not mapping scancode 0x7d correctly to vk_code OEM_5). Thanks for pointing this out. My colleague checked the values for kbd_* in rdesktop and by changing these values in FreeRDP, pressing the "\|" keycap resulted i

Re: [Freerdp-devel] Japanese Keyboard not working

2012-03-27 Thread Seiji T
Marc-Andre, Thanks for the comment. I am going to try to explain it to the best of my knowledge. Please bear with me that I don't have deep knowledge of keyboards or programming for that matter. Also I have no idea for what goes on in Chinese and Korean keyboards/IME. > we need to pass an IME fi

Re: [Freerdp-devel] Japanese Keyboard not working

2012-03-22 Thread Marc-André Moreau
Ok, just read more of the original info that was given, here's what I think: scancodes are normally hardware-specific, and RDP uses scancodes over the network. Those scancodes are indeed always the same for the single keyboard type which we're currently using (the generic IBM keyboard type). Since

Re: [Freerdp-devel] Japanese Keyboard not working

2012-03-22 Thread Marc-André Moreau
I have never tried making any of the CJK languages work due to lack of knowledge regarding those. There is indeed significant differences in the way those need to be handled, we need to pass an IME file along with a different keyboard type I believe. If you have general information on how those ke

Re: [Freerdp-devel] Japanese Keyboard not working

2012-03-22 Thread Mads Kiilerich
n 03/21/2012 07:01 AM, Seiji T wrote: > Dear all, > > I am trying to get 109 Japanese Keyboard (*1) to work with freerdp without > success. I guess a part of the real could be that the FreeRDP settings for kbd_type and kbd_subtype and kbd_fn_keys always are 0 when xfreerdp sends Client Core Data