diff options
Diffstat (limited to 'synaptics.c')
-rw-r--r-- | synaptics.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/synaptics.c b/synaptics.c index 35dcc00..df62d1a 100644 --- a/synaptics.c +++ b/synaptics.c @@ -177,6 +177,8 @@ SetDeviceAndProtocol(LocalDevicePtr local) proto = SYN_PROTO_EVENT; } else if (str_par && !strcmp(str_par, "psm")) { proto = SYN_PROTO_PSM; + } else if (str_par && !strcmp(str_par, "alps")) { + proto = SYN_PROTO_ALPS; } else { /* default to auto-dev */ if (event_proto_operations.AutoDevProbe(local)) proto = SYN_PROTO_EVENT; @@ -191,6 +193,9 @@ SetDeviceAndProtocol(LocalDevicePtr local) case SYN_PROTO_PSM: priv->proto_ops = &psm_proto_operations; break; + case SYN_PROTO_ALPS: + priv->proto_ops = &alps_proto_operations; + break; } } |