[Done] [Paid] Unicode Keyboard Input

Posted By: Superku

[Done] [Paid] Unicode Keyboard Input - 04/18/18 16:37

Hello!
I'm in need of Unicode keyboard input support in my A8 game(s). I've been struggling with it and want to ask if there's someone around who wants to give it a try.

What I need:
- Receive Unicode keyboard input, via direct or IME input. Characters consisting of more than one button press (like [´] and [e] resulting in é) must be supported still.
For testing IME support, install the Japanese language pack (only takes a couple of seconds) and activate it.

- Required final format: ANSI character or Unicode in UTF16 short (array) to be used with str_createw().

- You may need to create a DLL for this. I will need its source code.

Time:
3 weeks from now on, the sooner, the better.

Payment:
- 150Euro via Paypal.

Contact me via forum PM or e-mail: felix_pohl at web.de

Thanks for reading.
Posted By: Superku

Re: [Done] [Paid] Unicode Keyboard Input - 04/23/18 10:44

The task has been completed.
Posted By: FBL

Re: [Done] [Paid] Unicode Keyboard Input - 04/26/18 11:59

Just out of curiosity: do you want to share how was it solved?
A separate Unicode window with separate message pump?
Posted By: Superku

Re: [Done] [Paid] Unicode Keyboard Input - 04/26/18 14:18

Sure, Quad figured it out:
He created a "custom" acknex.dll that delegates pretty much all function calls into the real acknex.dll except for a couple of functions like CreateWindowExA. He hooked those and replaced them with their Unicode alternatives. So far all lite-C functions behave the same (including the video_... commands) except that the window receives real Unicode characters.
Those are collected in the usual on_message approach.

Thanks for your help as well, Firoball!
Posted By: Kartoffel

Re: [Done] [Paid] Unicode Keyboard Input - 04/26/18 16:49

Clever solution. I wouldn't have thought about using a proxy dll.
© 2024 lite-C Forums