Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce duplication to make it easier to maintain. Fix the following issues: - possible problem with `EINK` value on `TOLINO_EPOS3` devices (since both `TOLINO` and `TOLINO_EPOS3` booleans would be set) - `EINK` was never set to `EinkDevice.TOLINO_VISION6`, but checked in `device/EPDFactory.kt` - same with `HANVON_960` & `HYREAD_MINI6` - `LIGHTS` was never set to `LightsDevice.ONYX_NOTE_PRO`, but checked in `device/LightsFactory.kt` - `LIGHTS` could be set to `LightsDevice.ONYX_PALMA`, but was never checked in `device/LightsFactory.kt` Note: also drop device properties: `is_boyue` (unused) & `is_tolino` (only used to add direction pad mappings, details were added to the relevant wiki page instead), and no hardware rotation quirk (which was an incomplete emulator only workaround).
- Loading branch information