aboutsummaryrefslogtreecommitdiffstats
path: root/common/report.h
diff options
context:
space:
mode:
authorGravatar tmk <nobody@nowhere>2013-04-12 11:21:54 +0900
committerGravatar tmk <nobody@nowhere>2013-04-12 11:25:59 +0900
commit09e1eded8ba15aa91c37d703c6a85a896741f19a (patch)
tree4555638ba356bcbe28baaa557516ba0a074845f6 /common/report.h
parentbe8ea3c0940aabb55281863743c7e7d31424c573 (diff)
downloadqmk_firmware-09e1eded8ba15aa91c37d703c6a85a896741f19a.tar.gz
Add media eject key support from tufty
Diffstat (limited to 'common/report.h')
-rw-r--r--common/report.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/report.h b/common/report.h
index 480102768..02deb7797 100644
--- a/common/report.h
+++ b/common/report.h
@@ -43,6 +43,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define TRANSPORT_NEXT_TRACK 0x00B5
#define TRANSPORT_PREV_TRACK 0x00B6
#define TRANSPORT_STOP 0x00B7
+#define TRANSPORT_STOP_EJECT 0x00CC
#define TRANSPORT_PLAY_PAUSE 0x00CD
/* application launch */
#define AL_CC_CONFIG 0x0183
@@ -116,6 +117,7 @@ typedef struct {
(key == KC_MEDIA_NEXT_TRACK ? TRANSPORT_NEXT_TRACK : \
(key == KC_MEDIA_PREV_TRACK ? TRANSPORT_PREV_TRACK : \
(key == KC_MEDIA_STOP ? TRANSPORT_STOP : \
+ (key == KC_MEDIA_EJECT ? TRANSPORT_STOP_EJECT : \
(key == KC_MEDIA_PLAY_PAUSE ? TRANSPORT_PLAY_PAUSE : \
(key == KC_MEDIA_SELECT ? AL_CC_CONFIG : \
(key == KC_MAIL ? AL_EMAIL : \
@@ -127,7 +129,7 @@ typedef struct {
(key == KC_WWW_FORWARD ? AC_FORWARD : \
(key == KC_WWW_STOP ? AC_STOP : \
(key == KC_WWW_REFRESH ? AC_REFRESH : \
- (key == KC_WWW_FAVORITES ? AC_BOOKMARKS : 0))))))))))))))))))
+ (key == KC_WWW_FAVORITES ? AC_BOOKMARKS : 0)))))))))))))))))))
#ifdef __cplusplus
}