keycode 0.1 → 0.1.1
raw patch · 4 files changed
+23/−5 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +3/−0
- README.md +16/−1
- keycode.cabal +3/−3
- src/Web/KeyCode.hs +1/−1
CHANGELOG.md view
@@ -1,2 +1,5 @@+# 0.1.1+* Bugfix involving keycode 74 (should be J, was incorrectly giving K) [roboguy13]+ # 0.1 * Initial commit
README.md view
@@ -1,3 +1,18 @@-# `keycode` [](http://hackage.haskell.org/package/keycode) [](https://travis-ci.org/RyanGlScott/keycode)+# `keycode`+[][Hackage: keycode]+[](http://packdeps.haskellers.com/reverse/keycode)+[][Haskell.org]+[][tl;dr Legal: BSD3]+[](https://travis-ci.org/RyanGlScott/keycode)++[Hackage: keycode]:+ http://hackage.haskell.org/package/keycode+ "keycode package on Hackage"+[Haskell.org]:+ http://www.haskell.org+ "The Haskell Programming Language"+[tl;dr Legal: BSD3]:+ https://tldrlegal.com/license/bsd-3-clause-license-%28revised%29+ "BSD 3-Clause License (Revised)" Keyboard events in web browsers are often represented as keycodes, which (1) are difficult to remember, and (2) sometimes vary from browser to browser. This package allows one to look up a key press's keycode and get a plain English description of the key that was pressed, to reduce confusion.
keycode.cabal view
@@ -1,5 +1,5 @@ name: keycode-version: 0.1+version: 0.1.1 synopsis: Maps web browser keycodes to their corresponding keyboard keys description: Keyboard events in web browsers are often represented as keycodes, which (1) are difficult to remember, and (2) sometimes vary from@@ -21,12 +21,12 @@ source-repository head type: git- location: git://github.com/RyanGlScott/keycode.git+ location: https://github.com/RyanGlScott/keycode library exposed-modules: Web.KeyCode build-depends: base >= 3 && < 5 , containers hs-source-dirs: src- default-language: Haskell2010+ default-language: Haskell98 ghc-options: -Wall
src/Web/KeyCode.hs view
@@ -194,7 +194,7 @@ , ( 71, KeyG ) , ( 72, KeyH ) , ( 73, KeyI )- , ( 74, KeyK )+ , ( 74, KeyJ ) , ( 75, KeyK ) , ( 76, KeyL ) , ( 77, KeyM )