Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Commit

Permalink
Applying patch 3603337 to map F5 key to the power button
Browse files Browse the repository at this point in the history
  • Loading branch information
mcombell committed Feb 5, 2013
1 parent ef85ef9 commit 6b43629
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jni/synergy-jni.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,13 @@ static void build_key_translation_table () {
keyTranslation [63237] = KEY_MENU; // F2 to MENU
keyTranslation [63238] = KEY_BACK; // F3 to BACK
keyTranslation [63239] = KEY_SEARCH; // F4 to SEARCH
keyTranslation [63240] = KEY_POWER; // F5 to POWER

keyTranslation [61374] = KEY_HOME; // F1 to HOME
keyTranslation [61375] = KEY_MENU; // F2 to MENU
keyTranslation [61376] = KEY_BACK; // F3 to BACK
keyTranslation [61377] = KEY_SEARCH; // F4 to SEARCH
keyTranslation [61378] = KEY_POWER; // F5 to POWER
}

static inline int keycode (int key) {
Expand Down

0 comments on commit 6b43629

Please sign in to comment.