diff options
author | Chris Ye <lzye@google.com> | 2020-09-30 15:20:38 -0700 |
---|---|---|
committer | Chris Ye <lzye@google.com> | 2020-10-02 18:06:34 -0700 |
commit | f624d6d026e87ce2764cc68393428652dff54031 (patch) | |
tree | 0e6d5800804b4d5816972d9f8ce81b66c3364877 /data/keyboards | |
parent | 1f125fcd66e13c8c4f9642425902c9d54970dcd2 (diff) |
Add OnLive Universal Controller media buttons mapping.
Add media buttons like play/pause/record etc, for OnLive
Universal Controller.
Bug: 114679349
Test: Connect OnLive Universal Controller and play with media
buttons.
Change-Id: Ie69b3f7f8f13c778208454fb789113126c04966a
Merged-In: Ie69b3f7f8f13c778208454fb789113126c04966a
Diffstat (limited to 'data/keyboards')
-rw-r--r-- | data/keyboards/Vendor_2378_Product_1008.kl | 5 | ||||
-rw-r--r-- | data/keyboards/Vendor_2378_Product_100a.kl | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/data/keyboards/Vendor_2378_Product_1008.kl b/data/keyboards/Vendor_2378_Product_1008.kl index 478da03b9a78..7b19469ab6b4 100644 --- a/data/keyboards/Vendor_2378_Product_1008.kl +++ b/data/keyboards/Vendor_2378_Product_1008.kl @@ -14,6 +14,10 @@ # OnLive, Inc. OnLive Wireless Controller, USB adapter +key 164 MEDIA_PLAY_PAUSE +key 167 MEDIA_RECORD +key 168 MEDIA_REWIND +key 208 MEDIA_FAST_FORWARD key 304 BUTTON_A key 305 BUTTON_B key 307 BUTTON_X @@ -22,6 +26,7 @@ key 310 BUTTON_L1 key 311 BUTTON_R1 key 315 BUTTON_START key 314 BUTTON_SELECT +key 316 BUTTON_MODE key 317 BUTTON_THUMBL key 318 BUTTON_THUMBR diff --git a/data/keyboards/Vendor_2378_Product_100a.kl b/data/keyboards/Vendor_2378_Product_100a.kl index d9cd17120464..cb2b73afee3d 100644 --- a/data/keyboards/Vendor_2378_Product_100a.kl +++ b/data/keyboards/Vendor_2378_Product_100a.kl @@ -14,6 +14,10 @@ # OnLive, Inc. OnLive Wireless Controller +key 164 MEDIA_PLAY_PAUSE +key 167 MEDIA_RECORD +key 168 MEDIA_REWIND +key 208 MEDIA_FAST_FORWARD key 304 BUTTON_A key 305 BUTTON_B key 307 BUTTON_X @@ -22,6 +26,7 @@ key 310 BUTTON_L1 key 311 BUTTON_R1 key 315 BUTTON_START key 314 BUTTON_SELECT +key 316 BUTTON_MODE key 317 BUTTON_THUMBL key 318 BUTTON_THUMBR |