keyboard locker

This is a discussion on keyboard locker within the C Programming forums, part of the General Programming Boards category; how to lock keyboard using C? regards san...

  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    37

    keyboard locker

    how to lock keyboard using C?


    regards
    san

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    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).

    --
    Mats
    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
    Posts
    265
    Promise me that you have no bad intention.
    On second thought 8 posts doesn't make me trust you.
    gavra.

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, 03: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, 04:34 PM
  5. Locker Program
    By xlnk in forum C++ Programming
    Replies: 7
    Last Post: 03-29-2002, 11:41 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21