Thread: keyboard locker

  1. #1
    Registered User
    Join Date
    Jul 2008

    keyboard locker

    how to lock keyboard using C?


  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Farncombe, Surrey, England
    What do you mean by "lock keyboard" - like Ctrl-Alt-Del -> L, or something else? What OS?

    In an application, it would usually be pretty easy to just ignore the input from the keyboard. If you are talking about a system-wide lock of the keyboard, then:
    1. It's much harder to achieve.
    2. It would be a bad thing to do.
    3. I don't know how you do that (and I don't really want to find out either - it serves no purpose).

    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User gavra's Avatar
    Join Date
    Jun 2008
    Promise me that you have no bad intention.
    On second thought 8 posts doesn't make me trust you.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Detecting keyboard and mouse in linux
    By sameer.nalwade in forum C Programming
    Replies: 3
    Last Post: 11-22-2008, 04:24 AM
  2. Keyboard port using other that a keyboard
    By antoinelac in forum C++ Programming
    Replies: 4
    Last Post: 06-12-2008, 02:46 PM
  3. Virtual keys
    By Arkanos in forum Windows Programming
    Replies: 4
    Last Post: 12-12-2005, 10:00 AM
  4. Game Design Topic #2 - Keyboard or Mouse?
    By TechWins in forum Game Programming
    Replies: 4
    Last Post: 10-08-2002, 03:34 PM
  5. Locker Program
    By xlnk in forum C++ Programming
    Replies: 7
    Last Post: 03-29-2002, 11:41 AM