packages feed

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 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` [![Hackage version](https://img.shields.io/hackage/v/keycode.svg?style=flat)](http://hackage.haskell.org/package/keycode) [![Build Status](https://img.shields.io/travis/RyanGlScott/keycode.svg?style=flat)](https://travis-ci.org/RyanGlScott/keycode)+# `keycode`+[![Hackage](https://img.shields.io/hackage/v/keycode.svg)][Hackage: keycode]+[![Hackage Dependencies](https://img.shields.io/hackage-deps/v/keycode.svg)](http://packdeps.haskellers.com/reverse/keycode)+[![Haskell Programming Language](https://img.shields.io/badge/language-Haskell-blue.svg)][Haskell.org]+[![BSD3 License](http://img.shields.io/badge/license-BSD3-brightgreen.svg)][tl;dr Legal: BSD3]+[![Build](https://img.shields.io/travis/RyanGlScott/keycode.svg)](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          )