mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
Input: elantech - query the min/max information beforehand too
For the latest generation of Elantech touchpads, we need to forward the min/max information from PS/2 to SMBus. Prepare this work by fetching the information before creating the SMBus companion device. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
c114dc5e5b
commit
37548659bb
2 changed files with 79 additions and 86 deletions
|
@ -144,8 +144,13 @@ struct elantech_device_info {
|
|||
unsigned char debug;
|
||||
unsigned char hw_version;
|
||||
unsigned int fw_version;
|
||||
unsigned int x_min;
|
||||
unsigned int y_min;
|
||||
unsigned int x_max;
|
||||
unsigned int y_max;
|
||||
unsigned int x_res;
|
||||
unsigned int y_res;
|
||||
unsigned int width;
|
||||
unsigned int bus;
|
||||
bool paritycheck;
|
||||
bool jumpy_cursor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue