stark / sailfish-headless-keyboard-dbus

DBus Service to control keyboard of SailfishOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

license: MIT twitter: @andrinbertschi

sailfish-headless extension

This is the DBus based headless-keyboard extension for SailfishOS. If features a DBus service to enable applications to insert any text into a currently focused widget on the phone screen.

Changelog

Installation


API

  • Bus service: ch.abertschi.keyboard.headless
  • Bus type: Session Bus
  • Bus if_name: ch.abertschi.keyboard.headless.Server
  • Bus path: /

Signals

send_text

Insert text at cursor position.

  • in_signature: s
  • out_signature: -

send_key_return

Enter a newline.

  • in_signature: -
  • out_signature: -

send_key_del

Remove a character at cursor position.

  • in_signature: -
  • out_signature: -

send_key_arrow

Change cursor.

  • in_signature: s

    • ['up', 'down', 'right', 'left']
  • out_signature: -

exit

Kill the service

  • in_signature: -
  • out_signature: -

send_enable_debug

Enable debug mode

  • in_signature: b
    • True if enable
  • out_signature: -

Slots

receive_clipboard_changed

Clipboard was changed

  • in_signature: s
  • out_signature: -

Projects that use headless-keybard

About

DBus Service to control keyboard of SailfishOS

License:MIT License


Languages

Language:QML 62.8%Language:Python 17.0%Language:C++ 13.1%Language:QMake 7.1%