Giter VIP home page Giter VIP logo

Comments (11)

terrychou avatar terrychou commented on May 29, 2024

What about when you are not hiding the software keyboard?
Is the caps lock key mapping enabled?
What do you mean by "the default Apple keyboard is disabled"?

from ivim.

BlueDrink9 avatar BlueDrink9 commented on May 29, 2024

Sorry for the terse explanation.

When the software keyboard is shown, all buttons work as expected.

caps lock is mapped to esc. I can't remember if it worked but I think it didn't.

Disabled as in, in General/keyboard, only my 3rd party keyboard is enabled.

from ivim.

BlueDrink9 avatar BlueDrink9 commented on May 29, 2024

I haven't tried re-creating with the apple keyboard. I'll do that now

from ivim.

BlueDrink9 avatar BlueDrink9 commented on May 29, 2024

The apple keyboard autohides, and can't be displayed while the keyboard is connected. However it works fine in this situation. When this keyboard is not in the available keyboards, the problem occurs. Some 3rd party keyboards will hide themselves, and the problem won't occur until the screen is held, at which point it reoccurs.
Seems like holding to hide keyboard, when an external one is connected, disables most input.

from ivim.

terrychou avatar terrychou commented on May 29, 2024

Because of the limitation of the APIs, the caps lock mapping is implemented in a very restricted way. Except for the default English keyboard, other keyboards are not well supported.

Your problem is probably caused by this. So you can disable the caps lock mapping to see whether it works or not.

from ivim.

BlueDrink9 avatar BlueDrink9 commented on May 29, 2024

Will do. It would be a shame if that were the problem, it's bloody brilliant having my pinky do what it expects to.

from ivim.

BlueDrink9 avatar BlueDrink9 commented on May 29, 2024

Also to clarify, caps lock does indeed send esc (mapped to backspace in vim). This is even with non-default keyboards.

from ivim.

terrychou avatar terrychou commented on May 29, 2024

Yes, but the most annoying part in the caps lock mapping implementation is that the uppercase letters need special handling. Which is the main reason why non-standard keyboards would not work.

from ivim.

BlueDrink9 avatar BlueDrink9 commented on May 29, 2024

Aah, true. That includes backspace, ; and :?

from ivim.

terrychou avatar terrychou commented on May 29, 2024

You can check out the implementation of the external keyboard in file https://github.com/terrychou/iVim/blob/master/iVim/VimViewController%2BExternalKeyboard.swift

from ivim.

BlueDrink9 avatar BlueDrink9 commented on May 29, 2024

Sorry, just got back into using this. Can confirm that switching back to no caps mapping doesn't solve the problem.

from ivim.

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.