View Single Post
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#21
MISSING FEATURES:

1) DONE get pid or command name of topmost window when that window is an aliendalvik app
the pid returned by the below cmd is for `system_server`:
Code:
dbus-send --print-reply --system
    --dest=org.nemomobile.lipstick /
    org.nemomobile.compositor.privateTopmostWindowProcessId
this means that app(maps) will return false when google maps is open, for example.

NOTE: this is done, but requires a hack in lipstick QML
https://talk.maemo.org/showpost.php?...8&postcount=30

2) ]keep-alive while locked without draining battery horribly (vol buttons dont wake phone up, and so sometimes the actions dont work) JUST GONNA USE keepalive-tool FOREVER

3) DONE-ISH long-press keys
just needs some clever event handling that i havent had time to implement

4) torch on/off (NOT toggle, which is already done)
probably easy to query torch state with DBUS, but if not, i could just write directly to the LED devices.
(i used to long press vol for torch, and release to turn it off, and liked that a lot)

5) multiple input devices, configuration options for input devices

6) support for optional EXACT pattern matching (have to not push any other keys before, in the middle, or after)
maybe: "^vu vu$" or something

7) configuration options for timeouts/delays/etc

8) SOLVED-EXTERNALLY OPTIONALLY disable volume button default actions, e.g. in certain apps (this would probably be completely separate from sf-button-monitor, if i can implement it)
solution:
add a dconf config item to volume control QML to optionally ignore
/usr/share/lipstick-jolla-home-qt5/volumecontrol/VolumeControl.qml
see: patch

9) new conditions: landscape, portrait

10) new action: forceClose (kill -9 pid of topmost window)

11) new action: lockOrientation

12) (optionally) support power button with journalctl mce
__________________
~ teleshoes ~

Last edited by wolke; 2021-07-21 at 15:34.
 

The Following 3 Users Say Thank You to wolke For This Useful Post: