HomePhabricator

Add a new Ecore_Drm API for setting left-handed mouse

Authored by JHyun.

Description

Add a new Ecore_Drm API for setting left-handed mouse

Summary:
Add a new Ecore_Drm API named ecore_drm_device_left_handed_set().
Libinput support various input options. Left handed mode is one of options.
Right-handed people and left-handed people use a mouse
using different button mapping.
So if a left handed option is enabled, libinput change right mouse button and
left mouse button.
So support this option, I added this api using libinput's left handed option.

@feature

Test Plan:
After set left handed mode, left mouse button generate button numbered 3,
and right mouse button generate button numbered 1.

Reviewers: raster, ManMower, devilhorns

Subscribers: ohduna, cedric, jpeg, input.hacker

Differential Revision: https://phab.enlightenment.org/D3431

Details

Committed
devilhornsDec 29 2015, 6:04 AM
Differential Revision
D3431: Add a new Ecore_Drm API
Parents
rEFLd05a14671e8d: eo-cxx: Removed pessimization use of std::move
Branches
Unknown
Tags
Unknown