Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Wayland input review #47

Merged
merged 4 commits into from
Sep 4, 2013
Merged

Wayland input review #47

merged 4 commits into from
Sep 4, 2013

Conversation

kalyankondapally
Copy link
Contributor

No description provided.

This patch introduces WaylandPointer class.
The main responsibility of this class is to
implement wl_pointer_listener interface and
dispatch appropriate events to Ozone message
loop. In future, it should support touch. The
main consumer of this class would be input_device.
The patch introduces WaylandKeyboard class.
The main responsibility of this class is to
implement wl_keyboard_listener interface and
dispatch appropriate events to Ozone message
loop. The main consumer of this class is
input_device
classes.

Currently, input_device is responsible for handling
pointer and keyboard related activity. Also, in future
it would need to support touch, selection logic, drag and
drop etc. The main idea with this change is to be able
to extend input_device to support all these features.

The patch make changes so that input_device uses
WaylandPointer and WaylandKeyboard classes internally
to replace existing functionality. Any future support
in these areas can be extended in those classes respectively.
input_device should be responsible interface for accessing
any type of input device.
Currently, display has api to query for
supported InputMethod. This patch removes the
api from display and adds similar api to
input_device. Now, one can query the supported
input method from input device.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants