Unix/Linux Go Back    


Programming Post questions about C, C++, Java, SQL, and other programming languages here.

How to get capture input events from keyboard and mouse

Programming


Tags
linux, ubuntu

Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 05-21-2008
yhacks yhacks is offline
Registered User
 
Join Date: Mar 2008
Last Activity: 1 October 2008, 7:57 AM EDT
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Bug How to get capture input events from keyboard and mouse

Hi,

Is there any way to capture/record the input events from keyboard, as well as from mouse using C.

Thanks in advance
Sponsored Links
    #2  
Old Unix and Linux 05-22-2008
WebKruncher WebKruncher is offline
Registered User
 
Join Date: Dec 2007
Last Activity: 11 May 2012, 7:49 AM EDT
Location: Simi Valley, CA
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Keyboard interrupts?

What OS? Are you trying to write a device driver or a low level hook? Or, do you want to use high level apis and capture events for your applications? Are you working in the context of a GUI?
Sponsored Links
    #3  
Old Unix and Linux 05-23-2008
yhacks yhacks is offline
Registered User
 
Join Date: Mar 2008
Last Activity: 1 October 2008, 7:57 AM EDT
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Bug Using LInux OS (ubuntu)

I'm trying to capture the mouse and keyboard events while doing operations.
Please help me out
    #4  
Old Unix and Linux 05-23-2008
WebKruncher WebKruncher is offline
Registered User
 
Join Date: Dec 2007
Last Activity: 11 May 2012, 7:49 AM EDT
Location: Simi Valley, CA
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Which desktop?

I might be able to help work through this, but honestly, it's not something that I've done before in a Linux environment.
Are you using the KDE or Gnome?
Sponsored Links
    #5  
Old Unix and Linux 05-26-2008
yhacks yhacks is offline
Registered User
 
Join Date: Mar 2008
Last Activity: 1 October 2008, 7:57 AM EDT
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Using gnome

Trying to capture keyboard and mouse events in gnome (ubuntu)
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Keyboard vs mouse vpraveen84 What is on Your Mind? 56 01-09-2013 04:47 PM
Gedit semi-frozen/hangs; does not accept keyboard/mouse input ropers UNIX for Advanced & Expert Users 1 04-21-2011 01:48 PM
Xlib mouse events and ButtonPressMask abhinav.zoso Programming 0 11-27-2009 01:12 AM
[Debian] Stop input from keyboard and mouse nagalenoj UNIX for Advanced & Expert Users 5 05-03-2009 08:02 AM



All times are GMT -4. The time now is 01:55 PM.