8 Commits

Author SHA1 Message Date
Copilot 5314feab8d Fix Apple Pencil compatibility for M4 iPad Pro and M2/M3 iPad Air models (#474)
* Initial plan

* Fix Apple Pencil compatibility for iPad models

* Add tests for Apple Pencil compatibility

* Add changelog entry and fix trailing whitespace in tests

* Fix linting issues.

* Fix changelog entry.

* Fix additional linting issues.

* Fix ApplePencilSupport OptionSet raw values to use non-overlapping bits

The firstGenerationUsbC raw value (0x03) overlapped with firstGeneration
(0x01) and secondGeneration (0x02), causing contains() checks to return
incorrect results. Changed to proper power-of-2 values.
2026-03-02 17:54:38 +01:00
chedabob 85c63e2321 Add thermal state (#332)
* feat: Add ThermalState

https://github.com/devicekit/DeviceKit/issues/322

Also fixes the broken example playground

* Add changelog entry.

* Version bump. (v4.9.0)

Co-authored-by: Zandor Smith <info@zsinfo.nl>
2022-10-31 18:08:52 +01:00
Dennis Weissmann 3be7b9b6ce simplify tests
more swiftlint rules
extend test device matrix in travis CI
2018-10-21 13:55:34 +02:00
Dennis Weissmann cf28f798f0 add support for real device 2018-09-09 15:39:47 +02:00
Dennis Weissmann 1736072920 add available disk space methods to readme and playground 2018-09-09 15:22:17 +02:00
Shiva Huang 00ab3d75cf Fix: Imports should be sorted. 2018-05-12 18:11:31 +02:00
Shiva Huang 6aecdad930 Add Description
Add description for how to use Playground.
2018-05-12 18:11:31 +02:00
Shiva Huang ff82a6fb65 Add Playground Example
Create a workspace containing a playground example.
2018-05-12 18:11:31 +02:00