Re: Button control?

From: Måns Rullgård (mru_at_kth.se)
Date: 07/29/04


Date: Thu, 29 Jul 2004 00:06:19 +0200

ccoffey@forbes.com (Craig Coffey) writes:

> I have a Linux setup running in a small datacenter with a monitor that
> faces a window to display various assorted performance and monitoring
> information (MRTG, WhatsUp, etc.)
> I would *like* to provide a couple of buttons in the hallway outside
> of the datacenter so that the viewer could cycle through the X11
> desktops (which I would have set up to display one of these utilities
> on each) without needing access to the datacenter.
> I have been looking around for ideas on the best way to accomplish
> this, and I am coming up short. All I really need is a way to connect
> some buttons to the machine (serial? usb?) and have linux detect when
> they are pushed so that a command can be run. Doesn't sound
> impossible. Can anybody point me in the right direction?

I'm pretty sure there are USB numeric keypads readily available. Get
one of these, and configure the window manager to do whatever is
appropriate in response to key presses.

-- 
Måns Rullgård
mru@kth.se


Relevant Pages

  • Re: PDA as "X terminal" [lengthy]
    ... moves that out to the physical display (via VNC or ... finished filling in the window *before* updating the ... Each cell is a (character, ... immediately above the "write pixel" level (note that it doesn't ...
    (comp.arch.embedded)
  • Re: SVGA, LCD, Win CE 6.0 and PB
    ... site addressing display drver issues, not to mention the source code. ... travel down thru Win CE from boot.ini to the place genrating final LCD ... I can have a desktop larger than physical screen window. ...
    (microsoft.public.windowsce.platbuilder)
  • Question about Full screen exclusive mode
    ... I use ScreenManager class that has been presented in David Brackeen's book. ... The graphics card enters the selected mode but the window content is painted only to the level of windows display mode.For example. ... After returning to the Windows, the settings dialog window is repainted with the content of the frame that is under settings dialog. ...
    (comp.lang.java.programmer)
  • Re: display array in a frame wnd
    ... I have to display results. ... The window can be used in all the program thanks to the name "source image". ... CFrameWnd* pw; ... Why is this not in an OnPaint handler? ...
    (microsoft.public.vc.mfc)
  • Re: display array in a frame wnd
    ... you have to create an app that is suitable for displaying an image. ... There would never be a need to create a frame window; it is not at all clear why such code ... I have to display results. ... Why is this not in an OnPaint handler? ...
    (microsoft.public.vc.mfc)