GithubHelp home page GithubHelp logo

Comments (8)

DeqingSun avatar DeqingSun commented on July 25, 2024

I can confirm the emulated keyboard does not work on the boot screen of a Mid-2014 macbook pro while a real Dell keyboard does work.
So there must be some implementation problem in the boot protocol. I will take a look soon.

from ch55xduino.

DeqingSun avatar DeqingSun commented on July 25, 2024

For progress record:

There is some progress in https://github.com/DeqingSun/ch55xduino/blob/ec3b8958397dac77035ab4ae40cd06331b51320d/ch55xduino/ch55x/libraries/Generic_Examples/examples/05.USB/HidKeyboard/src/userUsbHidKeyboard/USBhandler.c that deal with HID report access on EP0. More work need to be done to do get EP0 IN work properly.

from ch55xduino.

DeqingSun avatar DeqingSun commented on July 25, 2024

@OmerFS I seems get it working on my Mac in boot screen. Let me know if this example work for you.

https://github.com/DeqingSun/ch55xduino/tree/19f3f8c1b5a86ab0c537f0cf059bbe71e6849bd1/ch55xduino/ch55x/libraries/Generic_Examples/examples/05.USB/HidKeyboard

from ch55xduino.

DeqingSun avatar DeqingSun commented on July 25, 2024

Updated in b0067f0
No response from @OmerFS, consider fixed.

from ch55xduino.

OmerFS avatar OmerFS commented on July 25, 2024

Hello i am sorry for not returning in time i saw your post in my mail today i have variety of old notebooks i will test and post the results thank you so much.

from ch55xduino.

OmerFS avatar OmerFS commented on July 25, 2024

Hello i tested new update on 3 laptops ;
Dell Latitude E6330
Fujitsu Lifebook LH532
Asus N550JV

it works on windows but it didn't work in bios screen
i also changed keyboardProtocol varible but results were same;didn't work
(//0 is boot protocol, 1 is report protocol
__xdata uint8_t keyboardProtocol = 1; from 1 to 0 but it didnt work again)
my humble opinion i suggest you to check stm32 libraries and HID-project library. i was able to make it with stm32 mcu using cubeide generated code for arduino(pro micro) i used HID-project both of them worked.

from ch55xduino.

DeqingSun avatar DeqingSun commented on July 25, 2024

Thanks for sharing. I suppose there must be some USB request that I did not handle properly.

I'll check it this weekend with a real windows machine. I suppose the bios in windows and mac still handle the USB differently.

from ch55xduino.

DeqingSun avatar DeqingSun commented on July 25, 2024

I've tested it on
Lenovo Thinkpad t410 2518-f4u 2010
Acer Aspire 4930 JAL90 2008
They both work in Bios.
I'll take a look at the other projects.

I tried to use

      Keyboard_press(KEY_DOWN_ARROW);
      delay(100); //a quick capslock press is not recognized on mac
      Keyboard_release(KEY_DOWN_ARROW);

And the cursor can be moved in BIOS

from ch55xduino.

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.