Coder Social home page Coder Social logo

keycodes's Introduction

JavaScript Keycodes → KeyCode.info

Keycodes is a simple website which allows users to press any key and instantly get the JavaScript Key or Key Code KeyboardEvent. Check out the Tool and Event List. It is build with Next.js and Typescript.

Development

You'll need node and yarn installed on your machine.

  • Install dependencies yarn
  • Run the development server: yarn dev
  • Open http://localhost:3000 in your browser

You can also start project with docker - docker-compose up

Development mode

There is a docker-compose.yml which runs the app

docker-compose up

Open http://localhost:3000 with your browser to see the result.

See also

Contributing

First off, thanks for taking the time to contribute! We welcome feedback in all forms, issues, comments, PRs, etc. and we always want to hear what the keycodes community thinks!

Contributing Guide

There are many ways in which you can participate in this project, for example:

  • Submit bugs, feature requests, and ideas, and help us verify as they are checked in
  • Review source code changes
  • Review the documentation for any typos and improvements

If you are interested in fixing issues and contributing directly to the code base, please see the How to Contribute document which covers the following:

  • Submitting pull requests
  • Coding guidelines
  • How to find issues to work on
  • How to use the labels

Providing Feedback

  • Request a new feature
  • Upvote popular features requests
  • Create an issue

Code of Conduct

This project has adopted the Contributor Covenant Code of Conduct

Contributor License Agreement

Licensed under the MIT license.

keycodes's People

Contributors

alexmcode avatar atilacamurca avatar bluemancz avatar cool-runningz avatar cwadrupldijjit avatar deniskaber avatar filipechagas avatar haykam821 avatar jasonlbeggs avatar kevindavus avatar kevingimbel avatar lesander avatar mattman00000 avatar mazuh avatar njgingrich avatar palashmon avatar pfgithub avatar r2d2warrior avatar rjp2525 avatar salomonsmeke avatar sambalim avatar stenalpjolly avatar svinkle avatar thedavedavies avatar tmhrtwg avatar utkarshdhiman48 avatar vpicone avatar wesbos avatar young avatar yusufzmly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

keycodes's Issues

Plus sign

When I hit +, it detect = instead

Missing keycode 163

Hi, I use (on Ubuntu 14) FireFox 42.0 and this is the '#'-Button (On a British keyboard layout. I don't know whether this is important to know)

No support for "Umlaut"

I just tried the tool and it seems there is no support for the German "Umlaut":

namely: ä, ö and ü

All three gave me zeros.

Keycode 0 maina?

There seem to be a lot of keycode 0 issues. @wesbos Are you sure that the one PR #70 added was the right one? Is there even a keycode 0?

Azerty keymaps (Linux)

Hello.
I'm using ArchLinux with Firefox 42.0 and with normal FR keyboard (AZERTY without dead keys IIRC) mapping and here are the unknown keybindings:

  • '<' (between Shift and W) key : 60
  • '²' (next from &/1) : 0 (?)
  • ')' (next from à/0) : 169
  • '=' (next from ')') : 61
  • '^' (next to 'p') : 0 (?)
  • '$' (next from '^') : 164
  • 'ù' ('next from 'M') : 165
  • '*' ('next from 'ù') : 170
  • ';' ('next from ',') : 59
  • '!' ('next from ';') : 161

have a nice day!

Consider removing F11 from scripts

AFAIK, because I tried and tried, there's no way to capture F11 in client-side JS because it's a browser hotkey. Having it in scripts.js isn't an issue, but it's almost dead code because it'll never be used.

Missing keycode 0

Tell me what key it was or even better, submit a Pull request!

pressing ALT + ´ on a wireless mac keyboard

Unknown keypress AltGr

Browser: Google Chrome 38.0.2125.104 (Official Build 290379)
Keyboard: US International Dutch

Pressing the AltGr button gives me 225, but is unknown to the website.

Cheers,
Sander

Missing keycode 193

OS: Microsoft Windows 7 Professional
6.1.7601 Service Pack 1 Build 7601
LENOVO 3254H4P
Keyboard: PT-BR ABNT2

Keyboard pic

I pressed the button next to arrow keys with "?/°" characters.

Several keys with identical key codes in AZERTY

For example the

  • shift, (?) and shift: (/) both give keycode 191.
  • The = and shift= (+) both give 187
  • The numbers (for which you normally need to press shift) all show as their keycode without shift, except 4, which shows ' 222 and 4 52when shift is also pressed
  • the @# key shows in both cases 192, a key which on Windows keyboards shows superscript 2 and 3

reference image

Not really sure how this can be resolved since there will be loads of differences per language and different keys with the same keycode.

Missing keycode 172

Tell me what key it was or even better, submit a Pull request!

Logitech K360, Fn-F1, Google Chrome

Answer your question?

Missing keycode 172

The keycode 172 is the pipe | on Norwegian keyboard layouts, but I am unsure what it is on American keyboards. It is the key which is left of the 1 key (it is sometimes used to toggle the console in games).

LMKWBAKTW Media Control Buttons

Chrome Version 46.0.2490.64 beta-m (64-bit)

179 - Play/Pause ( >|| )
178 - Stop ( [] )
177 - Previous ( |<< )
176 - Next ( >>| )

Missing keycode 180

Email combination on X2 Mirage keyboard (Fn+F10). Opens "mailto:".
Win 8.1
Chrome 47
"Polish (programmer)" keyboard layout

Missing keycode 0

When using a Trust Presenter ( 16661 ) I clicked on the two little buttons of the presenter labelled F5/ESC in "mouse mode".

Checking with xev, it seems that the keycodes are :

  • 234 for XF86Back
  • 233 for XF86Forward

that are not recognized by Javascript

I will try to remap them to other values

Missing keycode 169

Tell me what key it was or even better, submit a Pull request!

On a french layout keyboard (AZERTY), that's the closing parenthesis ")" or the degree symbol (with Shift) "°".
Key is just right to the 0.

Missing keycode 229

Tell me what key it was or even better, submit a Pull request!

This is alt+e on OSX in Chrome

I'm figuring it out myself. It's how it tries to add accents to your characters for you

Missing keycode 64

@ (unshifted) / # (shifted) key from a Mac fr-FR keyboard. The key is right under the Esc key, on the leftmost position of its row. Hth.

Missing keycode 0

I'm using a Windows keyboard with Chrome on OS X, and the app doesn't recognise the Menu key (the right-click key on the right-hand side, next to Ctrl).

Missing key «

« key

  • Portuguese keyboard, to the left of backspace.
  • Firefox.

Sorry, but I don't know the keycode for it, if there even is one.

Add a Service Worker to support offline use

I had to fire up my 3G tether in the middle of Laos to use this great tool, would be awesome to be able to cache it and have it saved for planes, trains, jungle bungalows, etc ;)

- and = sign on Firefox

Running the latest version of Firefox on Windows 10, US International keyboard layout, pressing the - (minus and underscore) key tells me "173 mute/unmute". The proper key for this, which in the case of my laptop is Fn + F8 does display as "181 mute/unmute (firefox)". The = (equals and plus) key is not recognized, keycode is 61.

Right Ctrl (225)

When I press right Ctrl, it shows 225 and that it doesn't know this key.

Yandex.Browser, Ubuntu.

ABNT semicolon key

For the record: pressed colon/semicolon key and saw 59 followed by huh? Let me know what browser and key this was. Browser is Firefox 42 and keyboard layout is brazilian portuguese ABNT.

Missing keycode 0

The É key on a bépo keyboard layout: http://bepo.fr/wiki/Accueil, in Firefox 45.0.1 with GNOME 3 / X11 on Archlinux x86_64. Other keys that don’t exist on qwerty (È, Ç, dead ^, …) also produce 0.

There is probably not much to do here, I’m filing this to let you know that this exists.

German umlauts not recognized

Hi!

German umlauts (ä, ö, ü) are not recognized (shown number is 0, text is "huh? ...").

Browser is FF 28.0

Thanks!

f2

Tell me what key it was or even better, submit a Pull request!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.