Ticket #3229 (closed defect: fixed)
adapt HGPK pentablet selection for upstream interface
|Reported by:||dsd||Owned by:|
|Priority:||Unspecified by Maintainer||Milestone:||0.96|
Sugar's HGPK mouse frame device for switching between simple and pentablet mode uses a kernel interface that was modified in the upstreaming process.
The sysfs attribute is now named "hgpk_mode" and accepts 3 textual values: Mouse, GlideSensor and PenTablet.
Mouse is the simple mode that is used by default.
GlideSensor is an enhanced protocol for the regular touchpad mode that additionally reports pressure and uses absolute coordinates. We suspect that it may be more reliable than mouse mode in some environments. (previously not selectable by sugar, could maybe be added somehow now? is also fine to exclude from the UI selection)
PenTablet mode puts the touchpad into resistive mode, you must then use a stylus as an input. We suspect this is the most reliable way to drive the touchpad.
I would suggest removing support for the old non-upstream interface, but it would probably not be difficult to have support for both if others disagree.