Hi there. I'm a long-time E user, and I'm looking to add some functionality
around mouse configuration. I'm a developer with stacks of 4GL experience,
and "not much at all" experience with C - the extent of my work so far has
been patching some gtk+ bugs, and that was *years* ago.

I've been reading up on libinput. I've studied the patch that added
tap-to-click support, and made some notes of what would be required to add
custom button mappings and "on button scrolling". I've found the place
where E maps button events based on whether a left or right -handed profile
is set. I see that this is a global thing - or at least there doesn't
appear to be any per-device configuration. I've found the configuration
stuff in enlightenment/src/bin/e_config.c, but these are just key/value
pairs, right?

This is where I'm not sure how I would proceed ... ie how would I go about
defining a per-device configuration for things like button mappings? Can I
store a config structure against a key ( maybe not I guess ), or a list?

I also have no idea of how I'd determine what device was the source of an
event.

If someone can give me some pointers / examples ... I *might* be able to
add support for per-device mouse configuration, which I think would make
the experience on wayland much nicer :)

Dan

_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to