keycode: Maps web browser keycodes to their corresponding keyboard keys

[ bsd3, library, web ] [ Propose Tags ] [ Report a vulnerability ]

Keyboard events in web browsers are often represented as keycodes, which (1) are difficult to remember, and (2) sometimes vary from browser to browser. Web.KeyCode 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.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.1.1, 0.2, 0.2.1, 0.2.2, 0.2.3, 0.2.4
Change log CHANGELOG.md
Dependencies base (>=4.9 && <5), containers, template-haskell (>=2.11 && <2.25) [details]
Tested with ghc ==8.0.2, ghc ==8.2.2, ghc ==8.4.4, ghc ==8.6.5, ghc ==8.8.4, ghc ==8.10.7, ghc ==9.0.2, ghc ==9.2.8, ghc ==9.4.8, ghc ==9.6.7, ghc ==9.8.4, ghc ==9.10.3, ghc ==9.12.2, ghc ==9.14.1
License BSD-3-Clause
Copyright (C) 2015-2017 Ryan Scott
Author Ryan Scott
Maintainer Ryan Scott <ryan.gl.scott@gmail.com>
Uploaded by ryanglscott at 2026-01-10T14:59:56Z
Category Web
Home page https://github.com/RyanGlScott/keycode
Bug tracker https://github.com/RyanGlScott/keycode/issues
Source repo head: git clone https://github.com/RyanGlScott/keycode
Distributions LTSHaskell:0.2.3, NixOS:0.2.3, Stackage:0.2.3
Reverse Dependencies 5 direct, 18 indirect [details]
Downloads 6694 total (18 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2026-01-10 [all 1 reports]

Readme for keycode-0.2.4

[back to package description]

keycode

Hackage Hackage Dependencies Haskell Programming Language BSD3 License Build Status

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.