The Following 16 Users Say Thank You to wolke For This Useful Post: | ||
Amboss, Astaoth, Bundyo, Halftux, Jordi, juiceme, Kabouik, klinglerware, levone1, Mikkosssss, mosen, mrsellout, peterleinchen, ric9K, robthebold, xman |
![]() |
2020-01-21
, 06:16
|
Posts: 986 |
Thanked: 1,526 times |
Joined on Jul 2010
|
#2
|
mcetool --set-exception-length-volume=0 mcetool --set-exception-length-camera=0
*** 473,478 **** --- 473,481 ---- } onVolumeChanged: restartHideTimerIfWindowVisibleAndWarningNotVisible() onVolumeKeyPressed: { + if (Lipstick.compositor.screenIsLocked) { + return + } if (keyRepeat.running || keyRepeatDelay.running) { if (Lipstick.compositor.visible) { screenshotTimer.restart()
The Following 5 Users Say Thank You to wolke For This Useful Post: | ||
![]() |
2020-01-21
, 08:38
|
Posts: 1,336 |
Thanked: 3,932 times |
Joined on Jul 2010
@ Brittany, France
|
#3
|
/dev/input/event2: 1579511420.010 - 0x05/EV_SW - 0x00a/SW_KEYPAD_SLIDE - 0
/dev/input/event2: 1579511420.010 - 0x05/EV_SW - 0x00a/SW_KEYPAD_SLIDE - 1
![]() |
2020-01-21
, 10:04
|
|
Community Council |
Posts: 1,669 |
Thanked: 10,227 times |
Joined on Nov 2014
@ Lower Rhine
|
#4
|
cat /dev/input/by-path/platform-c17a000.i2c-event-kbd
�&^S �&^S �&^��%�&^���&^�%�&^��&^��%�&^���&^B�%�&^B��&^� %�&^� �&^����&^��^C^Z -�&^Z �&^3C��&^3C�&^�7��&^�7�&^�v�&^
cat /dev/input/by-path/platform-soc\:gpio_keys-event
platform-1711a000.sound-tavil-event
![]() |
2020-01-21
, 14:32
|
Posts: 986 |
Thanked: 1,526 times |
Joined on Jul 2010
|
#5
|
![]() |
2020-01-21
, 14:43
|
|
Community Council |
Posts: 1,669 |
Thanked: 10,227 times |
Joined on Nov 2014
@ Lower Rhine
|
#6
|
EVENT: CAM_HALF => press 1239ms (ch-press) EVENT: CAM_HALF => release 87ms (ch) EVENT: CAM_HALF => press 197ms (ch ch-press) EVENT: CAM_HALF => release 86ms (ch ch) EVENT: CAM_HALF => press 148ms (ch ch ch-press) EVENT: CAM_HALF => release 62ms (ch ch ch) EVENT: CAM_HALF => press 119ms (ch ch ch ch-press) EVENT: CAM_HALF => release 61ms (ch ch ch ch) EVENT: CAM_HALF => press 103ms (ch ch ch ch ch-press) EVENT: CAM_HALF => release 81ms (ch ch ch ch ch) EVENT: CAM_HALF => press 94ms (ch ch ch ch ch ch-press) EVENT: CAM_HALF => release 76ms (ch ch ch ch ch ch) EVENT: CAM_HALF => press 99ms (ch ch ch ch ch ch ch-press) EVENT: CAM_HALF => release 89ms (ch ch ch ch ch ch ch)
![]() |
2020-01-21
, 16:11
|
Posts: 986 |
Thanked: 1,526 times |
Joined on Jul 2010
|
#7
|
[qw(16 KEY_W kw)],
![]() |
2020-01-21
, 17:02
|
|
Community Council |
Posts: 1,669 |
Thanked: 10,227 times |
Joined on Nov 2014
@ Lower Rhine
|
#8
|
![]() |
2020-01-21
, 17:16
|
Posts: 986 |
Thanked: 1,526 times |
Joined on Jul 2010
|
#9
|
The Following 4 Users Say Thank You to wolke For This Useful Post: | ||
![]() |
2020-01-21
, 17:42
|
|
Community Council |
Posts: 1,669 |
Thanked: 10,227 times |
Joined on Nov 2014
@ Lower Rhine
|
#10
|
btw, if you get something cool working for you, please pull request your changes. i might not add them to master since i cannot test it in any way (i ONLY have xperias), but others might benefit from it, and i might buy an fxtec soon myself
action=cmd(echo 1 > /sys/class/leds/keyboard-backlight/brightness),kb,always
[qw(10 KBD_STATE kb)],
functionality is similar to n9-button-monitor.
you can use sf-button-monitor to run arbitrary commands while the phone is locked, or unlocked.
tested and working on Xperia X and Xperia X Compact, YMMV
NOTE: core functionality provided by simply reading from:
perl
dbus-send (for all CONDITIONS, and for all ACTIONS except cmd(SHELL_CMD))
the following unrelated hacks make this script more useful:
-dont unlock the screen when pressing volume/camera
-dont control media volume when screen is locked
-write window title to a file so window() condition can tell which program is running
https://github.com/teleshoes/sf-button-monitor
~ teleshoes ~
Last edited by wolke; 2020-09-05 at 15:40.