Git Product home page Git Product logo

Comments (3)

rumia-san avatar rumia-san commented on July 17, 2024

我也遇到了这个问题,目前的临时解决办法是用系统自带的输入法。推测原因是irrlicht引擎,因为现在支持中文输入是通过irrlicht/irrlicht.patch实现的……

from ygopro.

rumia-san avatar rumia-san commented on July 17, 2024

一直没有人来研究这个问题啊。我研究了一下。目前ygopro在windows下实现的中文输入方法用的是老一套,走的旧的IME方式,通过WM_IME_STARTCOMPOSITION和WM_IME_CHAR实现输入。但是小狼毫之类的用的是新一套输入方式了,叫什么text service framework啥的,兼容老一套输入方式的输入法(比如系统自带的输入法)可以使用,但是小狼毫应该是不兼容旧的输入方式的,所以就不能用了。

两种输入方式的例子可以看 https://github.com/Microsoft/Windows-classic-samples
Samples/Win7Samples/winui/input/tsf/tsfapps/immpad-level1
Samples/Win7Samples/winui/input/tsf/tsfapps/tsfpad-step1

from ygopro.

rumia-san avatar rumia-san commented on July 17, 2024

今天又看了一下,发现一个很奇怪的地方,即使是只实现旧的IME的程序,如https://github.com/MoodyMoon/IME-Test
也会有系统自带的“MSCTFIME”之类的东西,把TSF的输入模拟成IME的输入,但是不知道为什么ygopro没有这个东西,可能和irrlicht里面win32实现方式有关……因为我对输入法这一块也完全不熟,所以也没有能力研究下去

图片

from ygopro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.