Go to file
hanteng 6ebcb33167
!4 update:rebuild
Merge pull request !4 from wangx/openkylin/yangtze
2022-07-18 11:02:24 +00:00
Devices_Status_Monitoring style:Modify the code format and log output, and delete useless configurations 2022-07-13 13:49:49 +08:00
Frontend_Console style:Modify the code format and log output, and delete useless configurations 2022-07-13 13:49:49 +08:00
data update:Update changelog and depends,Delete useless files 2022-07-13 17:33:46 +08:00
debian update:rebuild 2022-07-18 18:53:55 +08:00
COPYING Import Upstream version 3.1.1.0.0k0.3 2022-06-17 10:08:08 +08:00
COPYING.LIB Import Upstream version 3.1.1.0.0k0.3 2022-06-17 10:08:08 +08:00
README.md Import Upstream version 3.1.1.0.0k0.3 2022-06-17 10:08:08 +08:00
kylin-status-manager.pro update:delete statusconfig.ini file 2022-07-13 13:35:07 +08:00
main.cpp refactor:delete backend_init 2022-07-13 10:59:57 +08:00

README.md

README

###########环境依赖 qt4 QT += core gui dbus xml qml x11extras sensors LIBS += -lgsettings-qt LIBS += -lukui-log4qt -ludev -lKF5BluezQt PKGCONFIG += gsettings-qt x11 xtst

影响组件 ukui-settings-daemon、切换平板模式的包、搜狗 依赖硬件设备 传感器、IIO::device libglib2.0-dev, libkf5bluezqt-dev, iio-sensor-proxy ###########部署步骤

  1. sudo dpkg -i *.deb

  2. sudo dpkg -P kylin-mode-switch

  3. sudo dpkg -P angle-sensor-info


###########目录结构描述 ├── Readme.md // help ├── .git // git ├── Frontend_Console // 前端控制 │ ├── autoswitch.cpp │ ├── autoswitch.h // 主要控制状态代码 │ ├── testdeamon.cpp // 实验输出、测试dbus信号发送与接受同步新的gsetting值与原settingdeamon的值 │ ├── testdeamon.h │ ├── xeventmonitor.cpp // 按键 │ └── xeventmonitor.h ├── Backend_Services // 后台服务获得硬件发送的信息并dbus发送 │ ├── FoldingstateThread // 线程 │ │ ├── foldingstatusthread.cpp │ │ └── foldingstatusthread.h │ ├── IIOdevice │ │ ├── hp_iio.cpp │ │ ├── hp_iio.h │ │ ├── iio_utils.cpp │ │ └── iio_utils.h │ ├── backend_services.cpp │ ├── backend_services.h │ ├── iiodevices_dbusservies.cpp │ └── iiodevices_dbusservies.h ├── Devices_Status_Monitoring // 设备状态监控 │ ├── devices_status_monitoring.cpp │ ├── devices_status_monitoring.h │ ├──Keyboard_Devices │ │ ├── bluez_keyboard_monitoring.cpp │ │ ├── bluez_keyboard_monitoring.h │ │ └── usb_keyboard_monitoring.cpp │ │ └── usb_keyboard_monitoring.h │ │ ├── keyboard_status_monitoring.cpp │ │ ├── keyboard_status_monitoring.h ├── data │ ├── kylin-status-manager.conf │ ├── kylin-status-manager.desktop │ ├── kylin-status-manager.service │ ├── org.kylin-status-manager.gschema.xml │ ├── src.qrc │ ├── statusconfig.ini ├── debain ├── kylin-status-manager.pro └── main.cpp

###########V1.0.0 版本内容更新 原有功能:维护平板 pc的切换标记量提供对外dbus提供根据旋转或者翻折自动切换平板pc提供自动旋转监控、翻折自动切换的开关提供对搜狗的主题切换信号以及键盘状态

  1. 新功能 监控键盘状态
  2. 新功能 蓝牙键盘状态检测
  3. 新功能 usb键盘热插拔检测
  4. 新功能 综合内置键盘、usb键盘、蓝牙键盘情况进行模式切换和键盘信号发送 ###########changed 1、修改启动顺序在desktop设置为、 OnlyShowIn=UKUI; X-UKUI-Autostart-Phase=Initialization X-UKUI-AutoRestart=true 并修改调用session的dbus,告知session程序已启动 2、 3、 ###########接口连接 https://docs.qq.com/doc/DUVpOU2t5Tm1VYklj内部使用

https://docs.qq.com/doc/DUUx6WXBvV0dsZ09D