7 Commits

Author SHA1 Message Date
CuriousNom
8d704d3082 pipa: peripheralmanager: Revert many keyboard/pen changes
* will be reimplemented later.
2025-08-12 12:00:00 +00:00
Roman Lubij
cb92741ec1 pipa: peripheralmanager: Implement a toggle for kb angle detection 2025-08-18 13:15:26 +00:00
Luka Panio
9938f176f0 pipa: peripheralmanager: Initial xiaomi-keyboard implementation
* xiaomi-keyboard handles keyboard and tablet angle calculation
 * This allows to correctly turn off the keyboard when flipped back.

Change-Id: I9287d2d4c2b0b3fc2ab40d4daf7577521ec8662a
2025-01-26 03:46:38 +03:00
Davide Garberi
7d3b3abff2 pipa: rootdir: Set correct permissions for xiaomi pen and touch
Change-Id: I0a2c5b315dc7086e4b12e4f5a7c8dfa873e395c4
2025-01-26 03:46:38 +03:00
Davide Garberi
c957c83ab9 pipa: peripheralmanager: Move xiaomi-pen binary to vendor
* Set properties consequently

Change-Id: Ifd30044c42ddf18b81cb6a05c0228c6f2946f3d7
2025-01-26 03:46:38 +03:00
Fabian Leutenegger
4ffd8bd262 pipa: Add Xiaomi Pen support to Xiaomi Peripheral Manager
Change-Id: I2698b754dd062d581f059456670639c71658f3fc
2025-01-26 03:46:38 +03:00
Davide Garberi
837c9f37e5 pipa: rootdir: Use US for WiFi country code
* Considering that the only two versions of this device
   are `GLOBAL` and `CN`, and that the former already sets
   `US` as countrycode regardless of anything, set it for
   the `CN` version as well, since this version of the device
   is mostly used and imported all over the world.

Change-Id: Iaf6b0c1ae202425c0c83d2eb51ce5cec651d6876
2024-07-23 01:19:28 +02:00