Rev 3577 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3577 | Rev 3581 | ||
---|---|---|---|
Line 182... | Line 182... | ||
182 | else |
182 | else |
183 | active_read_key_pressed(x); |
183 | active_read_key_pressed(x); |
184 | } |
184 | } |
185 | #else |
185 | #else |
186 | extern chardev_t kbrd; |
186 | extern chardev_t kbrd; |
187 | if(x!=0x0d) |
187 | if(x != 0x0d) { |
188 | { |
188 | if(x == 0x7f) |
189 | if(x==0x7f) x='\b'; |
189 | x = '\b'; |
190 | chardev_push_character(&kbrd,x); |
190 | chardev_push_character(&kbrd, x); |
191 | } |
191 | } |
192 | #endif |
192 | #endif |
193 | 193 | ||
194 | } |
194 | } |
Line 232... | Line 232... | ||
232 | else |
232 | else |
233 | key_pressed(x); |
233 | key_pressed(x); |
234 | } |
234 | } |
235 | #else |
235 | #else |
236 | extern chardev_t kbrd; |
236 | extern chardev_t kbrd; |
237 | if(x!=0x0d) |
237 | if(x != 0x0d) { |
238 | { |
238 | if (x == 0x7f) |
239 | if(x==0x7f) x='\b'; |
239 | x = '\b'; |
240 | chardev_push_character(&kbrd,x); |
240 | chardev_push_character(&kbrd, x); |
241 | } |
241 | } |
242 | #endif |
242 | #endif |
243 | 243 | ||
244 | } |
244 | } |