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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to camera-app in Ubuntu.
https://bugs.launchpad.net/bugs/1451724

Title:
  Selfie stick not supported

Status in Canonical System Image:
  In Progress
Status in camera-app package in Ubuntu:
  In Progress

Bug description:
  I had a chance to play with a selfie stick: http://bit.ly/1KIYkBc

  Working fine on iOS it didn't do anything on Ubuntu.  I had enough
  time to check out what what keycode it sends when pressing the shutter
  button: Qt.Key_MediaTogglePlayPause

  So I guess all it takes is to add a Keys.onPressed handler to the
  camera app and trigger the photo shutter or start/stop recording when
  in video mode.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1451724/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to