On Thu, 2005-05-12 12:22:54 -0700, Alan Bryan <[email protected]> wrote: > Would it be feasable to modify the current keyboard > driver in such a way that it would log the last 1000 > keystrokes pushed (possibly log it somewhere in /proc > or something)? When I say keystrokes, I mean > everything...even the ctrl and alt and shift bit keys That's simple if you do it in a hackish way, but maybe a bit different to what you think. You'd extend the struct atkbd to contain a 1000 entry array and in rolling index. Then stuff your current keypress into the array and you're done. You'd need to hack in the proc interface, though. > Something like this would greatly simplify the program > I am attempting to make. What do you actually want to do? MfG, JBG -- Jan-Benedict Glaw [email protected] . +49-172-7608481 _ O _ "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
Attachment:
signature.asc
Description: Digital signature
- Follow-Ups:
- Re: Enhanced Keyboard Driver
- From: Alan Bryan <[email protected]>
- Re: Enhanced Keyboard Driver
- References:
- Enhanced Keyboard Driver
- From: Alan Bryan <[email protected]>
- Enhanced Keyboard Driver
- Prev by Date: [XFS] 2.6.12-rc4: Badness in xfs_page_state_convert at fs/xfs/linux-2.6/xfs_aops.c:889
- Next by Date: Re: SCSI/ISCSI, hardware/software
- Previous by thread: Enhanced Keyboard Driver
- Next by thread: Re: Enhanced Keyboard Driver
- Index(es):