fixed an old wheel-event bug and added version number to history, please propagate

This commit is contained in:
Matthias Felleisen 2012-01-19 11:38:37 -05:00
parent a41dbf5d7f
commit 0a5a949d1a
3 changed files with 10 additions and 3 deletions

View File

@ -234,7 +234,10 @@
"numlock" "numlock"
"scroll" "scroll"
"wheel-up" "wheel-up"
"wheel-down")) "wheel-down"
"wheel-left"
"wheel-right"
))
(define-syntax (big-bang stx) (define-syntax (big-bang stx)
(define world0 "expects an expression for the initial world and at least one clause") (define world0 "expects an expression for the initial world and at least one clause")

View File

@ -358,6 +358,8 @@ Second, some keys have multiple-character string representations. Strings
@item{@racket["scroll"]} @item{@racket["scroll"]}
@item{@racket["wheel-up"]} @item{@racket["wheel-up"]}
@item{@racket["wheel-down"]} @item{@racket["wheel-down"]}
@item{@racket["wheel-left"]}
@item{@racket["wheel-right"]}
] ]
@defproc[(key-event? [x any]) boolean?]{ @defproc[(key-event? [x any]) boolean?]{

View File

@ -1,10 +1,12 @@
------------------------------------------------------------------------ ------------------------------------------------------------------------
Version 5.2.1 [Thu Jan 19 11:36:19 EST 2012]
* added: universe.rkt now comes with a game-pad simulation option * added: universe.rkt now comes with a game-pad simulation option
A game-pad is a special-purpose key handler plus an icon that maps out A game-pad is a special-purpose key handler plus an icon that
the legal key strokes. maps out the legal key strokes.
* fixed * fixed
-- wheel-left and wheel-right events work properly as key events now
-- on-receive doesn't have to exist for universe/world interactions -- on-receive doesn't have to exist for universe/world interactions
-- name clause accepts strings and symbols -- name clause accepts strings and symbols
-- doc typos -- doc typos