Skip to content

Commit 8b58f75

Browse files
tomlohavejwrdegoede
authored andcommitted
platform/x86: touchscreen_dmi.c: small changes for Archos 101 Cesium Educ tablet
Fix the axes and add home button support as suggested by Hans de Goede. Signed-off-by: Thomas GENTY <tomlohave@gmail.com> Link: https://lore.kernel.org/r/20230714105117.192938-1-tomlohave@gmail.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
1 parent 6b293a8 commit 8b58f75

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

drivers/platform/x86/touchscreen_dmi.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ struct ts_dmi_data {
2727
/* NOTE: Please keep all entries sorted alphabetically */
2828

2929
static const struct property_entry archos_101_cesium_educ_props[] = {
30-
PROPERTY_ENTRY_U32("touchscreen-size-x", 1280),
31-
PROPERTY_ENTRY_U32("touchscreen-size-y", 1850),
32-
PROPERTY_ENTRY_BOOL("touchscreen-inverted-x"),
30+
PROPERTY_ENTRY_U32("touchscreen-size-x", 1850),
31+
PROPERTY_ENTRY_U32("touchscreen-size-y", 1280),
32+
PROPERTY_ENTRY_BOOL("touchscreen-inverted-y"),
3333
PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
3434
PROPERTY_ENTRY_U32("silead,max-fingers", 10),
35+
PROPERTY_ENTRY_BOOL("silead,home-button"),
3536
PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-archos-101-cesium-educ.fw"),
3637
{ }
3738
};

0 commit comments

Comments
 (0)