Mercurial > 510Connectbot
comparison src/com/five_ten_sg/connectbot/transport/TN5250.java @ 150:83bb2734b14c
more setfield testing
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 23 Jun 2014 08:08:51 -0700 |
parents | 69333ca1563c |
children | 026f5b85bd63 |
comparison
equal
deleted
inserted
replaced
149:eff82d6c11d9 | 150:83bb2734b14c |
---|---|
174 setField(-1, -1, new char[] { '4', '3' }); | 174 setField(-1, -1, new char[] { '4', '3' }); |
175 setField(18, 44, new char[0]); | 175 setField(18, 44, new char[0]); |
176 setField(-1, -1, new char[] { '6', '5' }); | 176 setField(-1, -1, new char[] { '6', '5' }); |
177 return; | 177 return; |
178 } | 178 } |
179 if (b == 122) { | |
180 // special case z for testing | |
181 setField(17, 40, new char[0]); | |
182 } | |
179 if (controls.containsKey(b)) keyPressed(controls.get(b), ' ', 0); | 183 if (controls.containsKey(b)) keyPressed(controls.get(b), ' ', 0); |
180 else screen52.sendKeys(new String(new byte[] {(byte)b})); | 184 else screen52.sendKeys(new String(new byte[] {(byte)b})); |
181 } | 185 } |
182 @Override | 186 @Override |
183 public void keyPressed(int keyCode, char keyChar, int modifiers) { | 187 public void keyPressed(int keyCode, char keyChar, int modifiers) { |