LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 09-16-2010, 09:08 AM   #1
wikapuki
Member
 
Registered: Jun 2009
Distribution: Debian
Posts: 78

Rep: Reputation: 15
Map a keypress to a GUI button (when keycode 175 pressed a GUI button pressed)


Hi,

ENV:
Linux 2.6.32-5-amd64
Debian Squeeze/Sid, gnome (gdm3)

I am feeling a little silly on this one as I am pretty sure it's a Linux bread and Butter question/answer but I cant seem to work out how to achieve my goal.

I would like to be able to do this for lots of things but here is the particular problem:

I have an ATI Wonder remote control and that appears as an extra keyboard, it has a nice big RED record button, which according to 'xev' when pressed is keycode 175

I also have GUVCview running and it has a button titled 'Cap. Image' which is under the GUVCview 'Video and Files' tab.

So what I would like is when ever I press the RED record button on my remote it presses GUVCview 'Cap. Image' button.

M.

Last edited by wikapuki; 09-16-2010 at 09:10 AM. Reason: extra info
 
  


Reply

Tags
button, keycode


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prevent XLIB application from closing when close button pressed fcdev Programming 1 11-11-2007 01:47 PM
Dell Latitude c610 mouse only works if another button is pressed tallmtt Linux - Laptop and Netbook 3 07-10-2007 11:04 AM
xine: vcd eject button pressed BUT still VCD does not goes out.. ic_torres Linux - Hardware 2 12-02-2005 02:03 AM
Connect Gtk's key event with button pressed? Chowroc Programming 6 12-20-2004 01:52 PM
Automatic shutdown when power button pressed.. mr_smidge Linux - General 9 09-08-2003 02:16 AM


All times are GMT -5. The time now is 11:54 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration