Mercurial > 510Connectbot
comparison src/com/five_ten_sg/connectbot/service/TerminalKeyListener.java @ 115:bc59a399f627
remove the keystroke debug code
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 18 Jun 2014 14:37:46 -0700 |
parents | 77ac18bc1b2f |
children | eff82d6c11d9 |
comparison
equal
deleted
inserted
replaced
114:5eda34fb607f | 115:bc59a399f627 |
---|---|
137 /** | 137 /** |
138 * Handle onKey() events coming down from a {@link com.five_ten_sg.connectbot.TerminalView} above us. | 138 * Handle onKey() events coming down from a {@link com.five_ten_sg.connectbot.TerminalView} above us. |
139 * Modify the keys to make more sense to a host then pass it to the vt320. | 139 * Modify the keys to make more sense to a host then pass it to the vt320. |
140 */ | 140 */ |
141 public boolean onKey(View v, int keyCode, KeyEvent event) { | 141 public boolean onKey(View v, int keyCode, KeyEvent event) { |
142 Log.d(TAG, String.format("onKey with key %d", keyCode)); | |
143 | |
144 try { | 142 try { |
145 // skip keys if we aren't connected yet or have been disconnected | 143 // skip keys if we aren't connected yet or have been disconnected |
146 if (bridge.isDisconnected()) return false; | 144 if (bridge.isDisconnected()) return false; |
147 | 145 |
148 // Ignore all key-up events except for the special keys | 146 // Ignore all key-up events except for the special keys |