[wx-dev] Multi media laptops keys

Priyank Bolia priyank.bolia at gmail.com
Mon Jul 21 20:07:58 PDT 2008


xev shows ouptut like this for the play and rewind button.
-----------------------------------------------------------------
FocusOut event, serial 30, synthetic NO, window 0x8600001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 30, synthetic NO, window 0x8600001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 30, synthetic NO, window 0x0,
    keys:  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

FocusOut event, serial 30, synthetic NO, window 0x8600001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 30, synthetic NO, window 0x8600001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 30, synthetic NO, window 0x0,
    keys:  2   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

On Tue, Jul 22, 2008 at 1:54 AM, Robin Dunn <robin at alldunn.com> wrote:

> Marcin Wojdyr wrote:
>
>> On Mon, Jul 21, 2008 at 10:13 PM, Marcin Wojdyr <wojdyr at gmail.com> wrote:
>>
>>> On Mon, Jul 21, 2008 at 9:09 PM, Priyank Bolia <priyank.bolia at gmail.com>
>>> wrote:
>>>
>>>> How to catch the multi media key press events on Linux. wxWidgets
>>>> doesn't
>>>> seem to generate any key press event for them.
>>>>
>>> What about wxEVT_KEY_DOWN events? Are they generated?
>>>
>>
>>
> Probably a better question is does xev show that there are events, and if
> so what are they mapped to?  Using xmodmap may help to map the keys to
> catchable events.
>
>
> --
> Robin Dunn
> Software Craftsman
> http://wxPython.org  Java give you jitters?  Relax with wxPython!
>
> _______________________________________________
> wx-dev mailing list
> wx-dev at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wx-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-dev/attachments/20080722/c6f90=
1cb/attachment.htm


More information about the wx-dev mailing list