The patch only inverts the Y axis for the X40. X41 and possibly X41 tablet also need HDAPS_DMI_MATCH_INVERT_Y instead of _MATCH_NORMAL.
The patch only inverts the Y axis for the X40. X41 and possibly X41 tablet also need HDAPS_DMI_ MATCH_INVERT_ Y instead of _MATCH_NORMAL.