summaryrefslogtreecommitdiffstats
path: root/lib/libthr/thread/thr_atfork.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2008-11-02 19:08:10 +0000
committered <ed@FreeBSD.org>2008-11-02 19:08:10 +0000
commit8df5c9ee67e9addc0234ac490f2e3b5f31e07a8e (patch)
tree2a29fc8a798903dfb56639fd1c2489515cd601a9 /lib/libthr/thread/thr_atfork.c
parente4a289ae9df429422b7271131d81a416f660f896 (diff)
downloadFreeBSD-src-8df5c9ee67e9addc0234ac490f2e3b5f31e07a8e.zip
FreeBSD-src-8df5c9ee67e9addc0234ac490f2e3b5f31e07a8e.tar.gz
Make the touch pad on my PowerBook G4 12" a little more usable.
For an unknown reason the touch pad of my PowerBook generates button 5 events when you operate it. This causes the adb_mouse code to convert them to button 2 events, which is not what we want. Add a new flag, AMS_TOUCHPAD, which is used to distinguish the touch pad. When set, don't convert button events of unknown buttons to the last button. There are still three problems left with respect to user input: - The mouse button events are not properly processed when the touch pad isn't touched. - The arrow keys on the keyboard don't work inside X11. - The power button isn't handled by the kernel, similar to the ACPI power button on i386/amd64. Approved by: nwhitehorn
Diffstat (limited to 'lib/libthr/thread/thr_atfork.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud