Code Monkey home page Code Monkey logo

Comments (6)

hrvach avatar hrvach commented on June 2, 2024 1

ah ok I got it, can you provide the diff file or patch etc. so I can apply that workaround to my own fork for now? after you implement that change on this repo, I can rebase to that

Try adding:

    if (length == KBD_REPORT_LENGTH + 1)
        keyboard_report = (hid_keyboard_report_t *)(raw_report + 1);

to keyboard.c in process_keyboard_report after the first if block. Let me know if it still works OK and I'll merge it with the master.

from deskhop.

lvntbkdmr avatar lvntbkdmr commented on June 2, 2024 1

ah ok I got it, can you provide the diff file or patch etc. so I can apply that workaround to my own fork for now? after you implement that change on this repo, I can rebase to that

Try adding:

    if (length == KBD_REPORT_LENGTH + 1)
        keyboard_report = (hid_keyboard_report_t *)(raw_report + 1);

to keyboard.c in process_keyboard_report after the first if block. Let me know if it still works OK and I'll merge it with the master.

Tried that, yes it works

from deskhop.

hrvach avatar hrvach commented on June 2, 2024

This looks pretty normal, some keyboards seem to ignore boot mode altogether. Does this work for you? test_fw.zip

from deskhop.

lvntbkdmr avatar lvntbkdmr commented on June 2, 2024

This looks pretty normal, some keyboards seem to ignore boot mode altogether. Does this work for you? test_fw.zip

ah yes, it works as expected. What did you do ? :D

from deskhop.

hrvach avatar hrvach commented on June 2, 2024

Ignored report ID the keyboard sends and it won't switch to boot mode properly. I'll make this autodetectable, feel like this will help folks with stubborn keyboards :)

from deskhop.

lvntbkdmr avatar lvntbkdmr commented on June 2, 2024

ah ok I got it, can you provide the diff file or patch etc. so I can apply that workaround to my own fork for now? after you implement that change on this repo, I can rebase to that

from deskhop.

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.