Closed Bug 1028807 Opened 10 years ago Closed 6 years ago

Use mouse right button as home button

Categories

(Firefox OS Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: joeking11829, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36

Steps to reproduce:

Do a right click on mouse


Actual results:

nothing


Expected results:

1. press right button trigger "home" event in Gaia
2. long press right button trigger "holdhome" event in Gaia
Depends on: 1028803
Add new evet to Shell.js EventHandler
1. mousedown -> if event.button === 2, sendChromeEvent({type: "home-button-press"})
2. mouseup -> if event.button ===2, sendChromeEvent({type: "home-button-release"})

this patch is base on Gecko commit: af6ad08f8657d4 (Jun 19 2014)
Blocks: 1000664
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: