Mercurial > 510Connectbot
diff src/com/five_ten_sg/connectbot/util/PreferenceConstants.java @ 148:69333ca1563c
add ptt button p2 preference
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sun, 22 Jun 2014 13:02:36 -0700 |
parents | 0ce5cc452d02 |
children | b16288cbad37 |
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/util/PreferenceConstants.java Sun Jun 22 07:57:20 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/util/PreferenceConstants.java Sun Jun 22 13:02:36 2014 -0700 @@ -55,18 +55,23 @@ public static final String KEYMODE_RIGHT = "Use right-side keys"; public static final String KEYMODE_LEFT = "Use left-side keys"; + // must match android:key values in preferences.xml public static final String CAMERA = "camera"; public static final String VOLUP = "volup"; public static final String VOLDN = "voldn"; public static final String SEARCH = "search"; + public static final String PTT = "ptt"; + // must match arrays.xml/list_hw_button_values + public static final String HWBUTTON_CTRL = "CTRL"; + public static final String HWBUTTON_ESC = "Esc"; + public static final String HWBUTTON_TAB = "Tab"; public static final String HWBUTTON_SCREEN_CAPTURE = "Screen Capture"; public static final String HWBUTTON_CTRLA_SPACE = "Ctrl+A then Space"; public static final String HWBUTTON_CTRLA = "Ctrl+A"; - public static final String HWBUTTON_ESC = "Esc"; public static final String HWBUTTON_ESC_A = "Esc+A"; - public static final String HWBUTTON_CTRL = "CTRL"; - public static final String HWBUTTON_TAB = "Tab"; + public static final String HWBUTTON_MONITOR = "Monitor Key"; + public static final String HWBUTTON_NONE = "None"; public static final String KEEP_ALIVE = "keepalive";