RFE: Map Wiimote keys to perform the action associated with a specific widget
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
WiiCan |
New
|
Wishlist
|
Unassigned |
Bug Description
Currently, in order to perform the action associated with a specific widget (e.g. push the play button in a music app), you have to physically move the mouse pointer over to that widget and then click on it. I think it would be neat if one could accomplish this without having to physically move the mouse pointer and click. For instance, the home key could be mapped to play current item, the '-' key to play previous item, and the '+' key to play next item.
I'm not sure how to accomplish this *without* using AT-SPI; but I'd think in many cases you should be able to do so via AT-SPI (e.g. looking at the name and role of AtkObjects and then either doing the associated AtkAction or alternatively getting the extents via AtkComponent and synthesizing a mouse click.)
Changed in wiican: | |
importance: | Undecided → Wishlist |
tags: | added: at-spi mapping |
Today the current wiican approx it's to set the shortcuts in the app and then make a mapping that matches the wiimote events to this shortcuts. Think that wminput recognizes the multimedia keys too[1] and almost any multimedia player as rhythmbox, banshee, totem or vlc has mapped the multimedia keys to play/pause, stop, next/prev.
I think the use of at-spi for matching wiimote events to widgets could achieve a lot of great and imaginative behaviours.
The first question i need to resolve it's, what will be the convenient input method so an user could match wiimote events with AtkObjects/ AtkActions? The current approx it's to fill the mapping field with a list of wiimote_ event=keyb/ mouse_action. Need i to define a new mapping language?
[1] http:// abstrakraft. org/cwiid/ browser/ wminput/ action_ enum.txt