-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mouse detection bug #20
Comments
you can try the following patch
|
Sorry, I'm not actually sure how to apply this. I added the fallthrough manually and compiled, but it did not work as hoped. Did I miss something? |
Did you also remove the |
Ah no, which looking at it now, is the same change I was gonna hack myself to fix it. Good ol' switch statements. I'll try it soon, but I'm sure it'll work |
Yea, that works fine |
Hi Alex, wonder if you can please assist me again? I'm trying to get this working on chrome os flex... and I can for keyboard detection... but the OS doesn't implement the /dev/input/by-path directory. I have found the event file (/dev/input/event5) and I've found the device in /sys/class/input/input6, but I'm not sure how to modify the search to get it to read the events? I've tried /dev/input with regex .event5 but it doesn't work :( |
in this line https://github.com/alexmohr/keyboard-backlight/blob/master/kbd_backlight.cpp#L477 |
I'm not sure if this is what you've done already. If it is make sure event5 is actually the correct event file. |
Hey... thanks for reply. I actually tried that last night, with no joy. I know event5 is the right device file as if I cat it, touchpad input fills the screen. I'll build it again now with debug and get back to you... thanks |
Ok, this is what I have... I used options -f -m 0 /home/chronos/user/Downloads/keyboard-backlight-master/kbd_backlight.cpp:454: Parsing options... |
Hmm I don't have any idea why it fails. I created a |
Hi, great application!
I've noticed a bug when deploying this application in fydeos, but on reviewing the source, I see a possible bug in the -M choices 0,1,2.
I've not seen this issue on fedora, ubuntu etc and even brunch, but I think it must be down to the driver being used.
Basically, in 0 (default) the code was missing my: -
/dev/input/by-id/pci-0000:00:15.0-platform-i2c_designware.0-event-mouse -> ../event9
I think it relates to https://github.com/alexmohr/keyboard-backlight/blob/master/kbd_backlight.cpp#L473
I was able to workaround by specifying -m 1 (internal only), but really, option 0 should pick this up.
The text was updated successfully, but these errors were encountered: