summaryrefslogtreecommitdiff
path: root/sys/dev/adb/akbd.c
AgeCommit message (Collapse)Author
2009-01-21Replace timeout_add(msecs * hz / 1000) with timeout_add_msec(msecs).Alexander Yurchenko
No functional changes. ok krw@ miod@
2007-03-13Drop the second and third arguments to adb_op_sync, for they are not used;Miod Vallat
while there, remove explicit global variable initializations to zero, and appease the gods by removing the most ludicrous spurious casts. No functional change (except for code shrinkage).
2006-03-23Previous state machine for caps lock would prove ineffective if caps lockMiod Vallat
was remapped to a dead key (such as control). Fortunately (?), accounting power key transitions can help reconstructing the exact caps lock key behaviour - this state machine is still flawed, and one can make it go wrong by hitting one of the caps lock and power keys while the other is held, but for now we'll assume people who do this are smart enough to be able to put the state machine in the correct state back, while mere mortals will never do such things anyway. Spotted by Matthias Kilian, ok itojun@
2006-02-12Remove unused columns from the keyboard[] array. No functional change.Miod Vallat
2006-02-12Clean up the adb_event structure, now that it is never exported to userland;Miod Vallat
also fix handling of caps lock and power keys in akbd; with help from claudio@
2006-02-06Attach a wskbd device for unknown adb mapped devices, just in case we lackMiod Vallat
one keyboard id.
2006-01-18Factorize akbd and ams drivers between mac68k and macppc; while there, startMiod Vallat
moving out common adb code as well, and merge adb_direct.c into adb.c to simplify external header files. No functional change; more cleanups to come.