![]() |
2009-11-14
, 13:34
|
Posts: 968 |
Thanked: 974 times |
Joined on Nov 2008
@ Ohio
|
#12
|
![]() |
2009-11-14
, 13:44
|
Posts: 515 |
Thanked: 193 times |
Joined on Oct 2009
|
#13
|
The Following User Says Thank You to chrisp7 For This Useful Post: | ||
![]() |
2009-11-14
, 13:46
|
|
Posts: 321 |
Thanked: 366 times |
Joined on Nov 2009
@ Hellas
|
#14
|
![]() |
2009-11-14
, 16:35
|
Posts: 388 |
Thanked: 842 times |
Joined on Sep 2009
@ Finland
|
#15
|
The Following User Says Thank You to hqh For This Useful Post: | ||
![]() |
2009-11-14
, 16:46
|
Posts: 31 |
Thanked: 32 times |
Joined on Jan 2008
@ Helsinki
|
#16
|
I have managed to create a simple application (read: quick hack) to accomplish this.
Started from xterm, it grabs a key (which should be the camera key) and when that key is pressed in any application then the app signals via dbus for the dashboard to appear (doesn't seem to work on desktop or in app menu).
I don't have the actual device yet but it works in scratchbox. Currently the key is F10 (not sure which key the actual camera key maps to).
The keypress gets eaten by my app so no other application can receive it. The app is obviously not ready to be packaged just yet, but it should prove that this is possible
Is the lens protector mapped to a X11 keycode?
![]() |
2009-11-14
, 16:56
|
Posts: 388 |
Thanked: 842 times |
Joined on Sep 2009
@ Finland
|
#17
|
Any idea how to check the keycodes on the tablet? There's no xev command by default.
![]() |
2009-11-14
, 17:03
|
|
Posts: 11,700 |
Thanked: 10,045 times |
Joined on Jun 2006
@ North Texas, USA
|
#18
|
![]() |
2009-11-14
, 17:08
|
Posts: 220 |
Thanked: 129 times |
Joined on Nov 2009
|
#19
|
I have managed to create a simple application (read: quick hack) to accomplish this.
Started from xterm, it grabs a key (which should be the camera key) and when that key is pressed in any application then the app signals via dbus for the dashboard to appear (doesn't seem to work on desktop or in app menu).
I don't have the actual device yet but it works in scratchbox. Currently the key is F10 (not sure which key the actual camera key maps to).
The keypress gets eaten by my app so no other application can receive it. The app is obviously not ready to be packaged just yet, but it should prove that this is possibleI'll try to make this into a real application once I receive my device.
Is the lens protector mapped to a X11 keycode?
![]() |
2009-11-14
, 17:13
|
|
Posts: 1,391 |
Thanked: 4,272 times |
Joined on Sep 2007
@ Vienna, Austria
|
#20
|
But I still think it would be nice to get the camera button rewired. It even has two stages, half-way and full press.
Maybe something like this:
- One half-way press: go to dashboard
- Second half-way press: go back to the last application
- Full press: go to the desktop
- Open camera cover: go to camera app and go back to default shutter button behaviour
And of course they should be programmable. I could even give it a shot if I find some way of reprogramming the button...
Last edited by kortsi; 2009-11-14 at 13:26. Reason: typo