Code Monkey home page Code Monkey logo

Comments (7)

johnmangam avatar johnmangam commented on September 26, 2024

Hello Marc,

Good-day!

Could you please let us know when we could expect this modification to be incorporated?

Thanking you.

Best regards,
John

from keyman.

mcdurdin avatar mcdurdin commented on September 26, 2024

We don't currently have this on our development timeline; it would be considered a low priority feature at this time. We would welcome a pull request.

from keyman.

johnmangam avatar johnmangam commented on September 26, 2024

Thank you Marc for the message. As you have suggested in a related issue, event.location allows us to distinguish between L/R ctrl/alt on modern browsers, I will try to make the changes and send a pull request. In the KMW source, could you please let me know which file(s) I need to make the necessary changes?

from keyman.

mcdurdin avatar mcdurdin commented on September 26, 2024

Off the top of my head, changes would probably required in a number of files, e.g. keymanweb.js, kmwbase.js and kmwcallback.js, with some minor changes required to kmwosk.js. But there may also be changes required to kmwnative.js, kmwlegacy.js and kmwkeymaps.js; I'd have to investigate to be sure. It's not trivial because differentiating between L/R ctrl/alt involves changing the way the On Screen Keyboard works to allow for handling the keys independently, as well as passing updated modifier flags through in the appropriate locations.

Remember that distinguishing the L/R setting is a keyboard-level option, so some keyboards will have this flag set, and others won't. I don't think the setting value is compiled into the javascript output for a keyboard at this point: I also need to note that the compiler will also need updating to complete this issue. The compiler is not yet open source (preparing the Keyman projects for open source is the current focus of our efforts).

from keyman.

johnmangam avatar johnmangam commented on September 26, 2024

Thank you very much, Marc.

from keyman.

jahorton avatar jahorton commented on September 26, 2024

Implemented with #300 and #313. Visual editor support is pending but will be added soon.

from keyman.

jahorton avatar jahorton commented on September 26, 2024

Visual editor support is coming with #342, which should be through to Alpha by the end of this week.

from keyman.

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.