Git Product home page Git Product logo

Comments (13)

chregu82 avatar chregu82 commented on July 29, 2024

USB keyboards never do key repeat on their own. It's always done in software. PS/2 keyboard on the other hand do key repeat on their own. If I had a non repeating USB keyboard, I probably could make it working. Something must be different from keyboard to keyboard.

from pigfx.

lindoran avatar lindoran commented on July 29, 2024

from pigfx.

lindoran avatar lindoran commented on July 29, 2024

from pigfx.

chregu82 avatar chregu82 commented on July 29, 2024

Let's try option 2 first. This is a test version which outputs the raw keypress data to the screen. I would expect that on key press a hex number >0 is displayed, and on key release 00. Modifier keys like control or alt should display 00 too.
Image
Image is for Pi1 / Zero only.

from pigfx.

lindoran avatar lindoran commented on July 29, 2024

the link doesn't appear to be working

from pigfx.

chregu82 avatar chregu82 commented on July 29, 2024

I'm sorry, please try again.

from pigfx.

lindoran avatar lindoran commented on July 29, 2024

ok so here's what happens ... on all the keyboards that don't support autorepeat. they continually send key release 00 unless you press a key then they continually send the hex code for that key... Ill send a video in a few minutes i have to upload it
the keyboard that works is exactly as you described.

from pigfx.

lindoran avatar lindoran commented on July 29, 2024

https://drive.google.com/file/d/1whNoy8TbhnPC_fQVS_o2-RFWYeuaPC26/view?usp=sharing

from pigfx.

chregu82 avatar chregu82 commented on July 29, 2024

I don't seem to have access to this file.

from pigfx.

lindoran avatar lindoran commented on July 29, 2024

from pigfx.

lindoran avatar lindoran commented on July 29, 2024

from pigfx.

chregu82 avatar chregu82 commented on July 29, 2024

Please try if this works for all your keyboard: img

from pigfx.

lindoran avatar lindoran commented on July 29, 2024

tested and is working :) actually a bit better than the other keyboard seams far more responsive
thank you so much! its probably fine to push to current. I tried out the modifier keys as well and caps lock everything works.
you work so fast! I wish I had your stamina. I got a bit more done on my sprite editor tonight, but its like 1:20 in the morning where I am, im headed to bed. thanks again, much appreciated!

from pigfx.

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.