Thread: HELP - disable keyboard/mouse

  1. #1
    Registered User danielcplusplus's Avatar
    Join Date
    Aug 2014
    Location
    earth
    Posts
    14

    HELP - disable keyboard/mouse

    Can anyone show me an example of code on how to disable keyboard/mouse for 5-10 seconds written in C++.

  2. #2
    Registered User
    Join Date
    Jun 2011
    Posts
    4,509
    Why do you want to do this?

  3. #3
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Location
    Greece
    Posts
    2,728
    There are ways to do it. But since this knowledge can be used maliciously, we hesitate from bringing it up without sufficient justification.
    Devoted my life to programming...

  4. #4
    Registered User danielcplusplus's Avatar
    Join Date
    Aug 2014
    Location
    earth
    Posts
    14
    I have an idea, a program, Which will lock my computer unless i will insert a specific USB, now, about the "locking" I thought I could just disable keyboard / mouse, simple as it is.
    I know there is something called, BlockInput but you can simply pree CTRL+ALT+DLT and exit.
    So if anyone has any idea, please ^^
    and for the record I will never use my knowledge maliciously.
    Last edited by danielcplusplus; 08-02-2015 at 08:42 AM.

  5. #5
    Registered User danielcplusplus's Avatar
    Join Date
    Aug 2014
    Location
    earth
    Posts
    14
    I thought I could make it password protected, but it's boring and I rather do something with challenge

  6. #6
    Registered User danielcplusplus's Avatar
    Join Date
    Aug 2014
    Location
    earth
    Posts
    14
    Still waiting, anyone ?

  7. #7
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    Have a look at LSA Authentication.
    What can this strange device be?
    When I touch it, it gives forth a sound
    It's got wires that vibrate and give music
    What can this thing be that I found?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Disable RichTextBox mouse wheel
    By theoobe in forum C# Programming
    Replies: 2
    Last Post: 05-08-2009, 11:27 AM
  2. disable keyboard and mouse?
    By bikr692002 in forum C++ Programming
    Replies: 9
    Last Post: 03-31-2006, 04:25 PM
  3. how to disable the Keyboard?
    By alanair23 in forum C++ Programming
    Replies: 2
    Last Post: 02-04-2003, 03:56 PM
  4. How to disable a mouse in a console
    By GaPe in forum C Programming
    Replies: 7
    Last Post: 05-26-2002, 05:45 AM
  5. disable the mouse? and window always on top
    By v0id in forum Windows Programming
    Replies: 1
    Last Post: 02-28-2002, 09:16 PM