C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 09-22-2008, 08:54 PM   #1
Registered User
 
Join Date: Sep 2008
Posts: 15
advanced lock/unlock keys on keyboard

i want to make a simple program to act like a daemon, running in background on system, just waiting the key "c" be pressed to activate for 5 min. some keys on keyboard (like a, b, d, f...).
After the 5 min. the keys must be locked, but if the "c" is pressed before the time is completed out, must be added 5 min. to the time left (if is lefting 1 min. to lock, pressing the "c" again will be left 6 min to lock the keys)
fbs777 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simulate Keys with a Keyboard Hook guitarist809 Windows Programming 3 11-14-2008 08:14 PM
directinput DIK to VK? X PaYnE X Game Programming 3 12-12-2005 02:20 PM
Arrow keys as keyboard Input bradleym83 C++ Programming 3 12-01-2005 09:39 PM
Selecting Menu using keyboard arrow keys darkmessiah C Programming 5 06-07-2005 11:07 AM
Advanced Keyboard Input zhopon Game Programming 5 12-12-2001 12:23 PM


All times are GMT -6. The time now is 07:06 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

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