Giter VIP home page Giter VIP logo

web-keyboard's Introduction

web-keyboard

A pure web based virtual keyboard with

โš ๏ธ This is a work in progress. There are a lot of intricacies involved with creating a virtual keyboard in javascript. This project relies on some newer Web APIs. For example, css grid and inputmode.

Additionally this is being created as a web component, and currently this has zero build system. In order to view the demo you need to be on a browser that supports ES Modules.

The Reason

I created this project because of the lack of proper number keyboards on Android. I have spent countless hours researching a clean way to invoke a consistent keyboard that supports numbers properly, including scientific notation, or even the basics of a negative value, but to no avail. This article pretty much sums it up: https://www.filamentgroup.com/lab/type-number.html.

With all that being said, I think this is something that would be very helpful in many different applications.

Basic roadmap for keyboard types:

  • Number (with full support negative values and scientific notation!)
    • Also will add optional arrow keys for larger screens to allow you to bind to arrow key events
  • Keyboard accessory bar
    • An additional accessory bar that can be used instead of a full custom keyboard. This will prove more useful cross all platforms
  • Standard alphanumeric query style keyboard
  • Telephone
  • Other?

web-keyboard's People

Contributors

jordanaustin avatar

Stargazers

frankfanslc avatar  avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

00mjk

web-keyboard's Issues

Add theming ability

I want other devs/designers to be able to drop this in and add their own themes to it, within reason.

Add haptic feedback options

This would help the keyboard to feel more native, but this might need to be controllable in a keyboard settings panel.

Toggle native keyboard

The number one feature I want for this is the ability to toggle the native keyboard. I don't want a user to not have that option.

Fix conflict with physical keyboard

Not sure how I'm going to detect the existence of a physical keyboard, or lack thereof, but this needs to happen somehow.

One option is to always use the native keyboard first (I think this is fairly common) and then use local storage to persist it after a user has requested it.

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.