Comment 6 for bug 1451724

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

For what it's worth I have a selfie device which I picked up at SCaLE. It's not a stick but just a bluetooth button on a keyring.

Kinda like this thing:- http://shopping.rediff.com/product/bluetooth-remote-shutter-portable-selfie-clicker-for-iphone-ipad-android-sa/12547946

You'll note it has two buttons.

Using xev on my desktop I discovered that the "iOS" button presses Vol+. The "Android" button presses Enter.

Android button press:-

KeyPress event, serial 39, synthetic NO, window 0x4800001,
    root 0xc4, subw 0x0, time 695348996, (867,621), root:(916,673),
    state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
" XmbLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

KeyRelease event, serial 39, synthetic NO, window 0x4800001,
    root 0xc4, subw 0x0, time 695349027, (867,621), root:(916,673),
    state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

iOS button press:-

KeyPress event, serial 40, synthetic NO, window 0x4800001,
    root 0xc4, subw 0x0, time 695365945, (867,621), root:(916,673),
    state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
" XmbLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x4800001,
    root 0xc4, subw 0x0, time 695366065, (867,621), root:(916,673),
    state 0x0, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
    XFilterEvent returns: False

FocusOut event, serial 40, synthetic NO, window 0x4800001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 40, synthetic NO, window 0x4800001,
    mode NotifyUngrab, detail NotifyAncestor

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

KeyRelease event, serial 40, synthetic NO, window 0x4800001,
    root 0xc4, subw 0x0, time 695367625, (867,621), root:(916,673),
    state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False

MappingNotify event, serial 40, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 8, count 248

KeyPress event, serial 40, synthetic NO, window 0x4800001,
    root 0xc4, subw 0x0, time 695373503, (666,490), root:(715,542),
    state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False