Changeset 2683
- Timestamp:
- Nov 14, 2011 4:24:06 AM (19 months ago)
- Files:
-
- 4 edited
-
cpu/arm/olpc/1.75/fw.bth (modified) (1 diff)
-
cpu/x86/pc/olpc/sound.fth (modified) (2 diffs)
-
cpu/x86/pc/olpc/via/fw.bth (modified) (1 diff)
-
dev/olpc/keyboard/selftest.fth (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cpu/arm/olpc/1.75/fw.bth
r2676 r2683 286 286 fload ${BP}/dev/olpc/keyboard/selftest.fth \ Keyboard diagnostic 287 287 device-end 288 stand-init: Keyboard 289 " /ap-sp/keyboard" " set-keyboard-type" execute-device-method drop 290 ; 288 291 dev /ap-sp/mouse 289 292 fload ${BP}/dev/olpc/touchpad/syntpad.fth \ Touchpad diagnostic -
cpu/x86/pc/olpc/sound.fth
r2226 r2683 57 57 dev /keyboard 58 58 0 value waiting-up? 59 : olpc-check-abort ( scan-code -- abort? ) \ Squarepressed?59 : olpc-check-abort ( scan-code -- abort? ) \ an abort key pressed? 60 60 last-scan over to last-scan ( scan-code old-scan-code ) 61 61 h# e0 <> if drop false exit then ( scan-code ) … … 63 63 check-abort? 0= if drop false exit then ( scan-code ) 64 64 65 dup h# 7f and h# 5d<> if drop false exit then ( scan-code )65 dup h# 7f and abort-key <> if drop false exit then ( scan-code ) 66 66 67 67 h# 80 and if \ Up -
cpu/x86/pc/olpc/via/fw.bth
r2679 r2683 387 387 fload ${BP}/dev/olpc/keyboard/selftest.fth \ Keyboard diagnostic 388 388 device-end 389 stand-init: Keyboard 390 " /keyboard" " set-keyboard-type" execute-device-method drop 391 ; 389 392 fload ${BP}/dev/olpc/touchpad/touchpad.fth \ Touchpad diagnostic 390 393 fload ${BP}/cpu/x86/pc/olpc/gridmap.fth \ Gridded display tools -
dev/olpc/keyboard/selftest.fth
r2500 r2683 10 10 \ This is 1 for the original rubber keyboard and 2 for the mechanical keyboard 11 11 1 value keyboard-type 12 13 \ Scan code of abort key 14 h# 5d value abort-key 12 15 13 16 \ There are two scancode tables: … … 713 716 " KM" find-tag if ( adr len ) 714 717 -null ( adr' len' ) 715 " olpcm" $= if 2 else 1 then ( type ) 718 " olpcm" $= if 719 h# 53 to abort-key \ del 720 2 721 else 722 1 723 then ( type ) 716 724 else ( ) 717 725 1 ( type ) … … 719 727 then 720 728 to keyboard-type 729 ; 730 731 : use-keyboard-type ( -- ) 721 732 keyboard-type case 722 733 … … 734 745 735 746 set-keyboard-type 747 use-keyboard-type 736 748 737 749 make-keys
Note: See TracChangeset
for help on using the changeset viewer.
