Re: [Pgui-devel] Monitoring keyboard input

2002-06-18 Thread Micah Dowty
On Tue, Jun 18, 2002 at 09:34:19AM -0300, Lalo Martins wrote: > On Sat, May 25, 2002 at 02:46:20PM -0600, Micah Dowty wrote: > > For a relatively small number of keys, like the VR3 silkscreen buttons, you can >use button hotkeys. Create a button widget for each silkscreen button, and assign >PG_

Re: [Pgui-devel] Monitoring keyboard input

2002-06-18 Thread Lalo Martins
On Sat, May 25, 2002 at 02:46:20PM -0600, Micah Dowty wrote: > For a relatively small number of keys, like the VR3 silkscreen buttons, you can use >button hotkeys. Create a button widget for each silkscreen button, and assign >PG_WP_HOTKEY on the button to the PGKEY_* constant for the button. Th

Re: [Pgui-devel] Monitoring keyboard input

2002-05-25 Thread Micah Dowty
The current driver just maps the soft buttons to F1 through F7.. there's no hardware button support yet. If there's a way to get hardware button events from the kernel, it could be added to the vr3ts driver. On Sat, May 25, 2002 at 06:22:54PM -0300, Lalo Martins wrote: > On Sat, May 25, 2002 at

Re: [Pgui-devel] Monitoring keyboard input

2002-05-25 Thread Lalo Martins
On Sat, May 25, 2002 at 09:39:53PM +0100, James Hollingshead wrote: > > The reason for this is to try and use the silkscreen keys of the vr3ts > input driver to pop up a window/menu/keyboard. The silkscreen keys > appear to produce keyboard codes, so I want a (preferably unmapped) > app that can

Re: [Pgui-devel] Monitoring keyboard input

2002-05-25 Thread Micah Dowty
For a relatively small number of keys, like the VR3 silkscreen buttons, you can use button hotkeys. Create a button widget for each silkscreen button, and assign PG_WP_HOTKEY on the button to the PGKEY_* constant for the button. The button will recieve that key's events. It can be unattached to

[Pgui-devel] Monitoring keyboard input

2002-05-25 Thread James Hollingshead
I've been trying to work out how to make an app receive key press events when it doesn't have the focus, but not intercept them so that the app with the focus gets them. Using pgRegisterOwner(PG_OWN_KEYBOARD) makes the app receive all key events, but they don't get sent on to the app with the focu