Mercurial > 510Connectbot
comparison src/com/five_ten_sg/connectbot/service/TerminalBridge.java @ 231:502ba7668993
use StringPickerDialog for soft cursor keypad
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 09 Jul 2014 14:28:43 -0700 |
parents | bc40032ad1da |
children | 32737a428805 |
comparison
equal
deleted
inserted
replaced
230:bc40032ad1da | 231:502ba7668993 |
---|---|
1127 | 1127 |
1128 /** | 1128 /** |
1129 * Show arrows dialog | 1129 * Show arrows dialog |
1130 */ | 1130 */ |
1131 public boolean showArrowsDialog() { | 1131 public boolean showArrowsDialog() { |
1132 final String []pickerStrings = {"←", "→", "↑", "↓", "tab", "ins", "del", "ret"; | 1132 final String []pickerStrings = {"←", "→", "↑", "↓", "tab", "ins", "del", "ret"}; |
1133 final HashMap<String,Integer> keymap = new HashMap<String,Integer>(); | 1133 final HashMap<String,Integer> keymap = new HashMap<String,Integer>(); |
1134 keymap.put("←", vt320.KEY_LEFT); | 1134 keymap.put("←", vt320.KEY_LEFT); |
1135 keymap.put("→", vt320.KEY_RIGHT); | 1135 keymap.put("→", vt320.KEY_RIGHT); |
1136 keymap.put("↑", vt320.KEY_UP); | 1136 keymap.put("↑", vt320.KEY_UP); |
1137 keymap.put("↓", vt320.KEY_DOWN); | 1137 keymap.put("↓", vt320.KEY_DOWN); |