Skip to content

Keys Reordering for numpad #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
onuh opened this issue Nov 13, 2021 · 6 comments
Closed

Keys Reordering for numpad #30

onuh opened this issue Nov 13, 2021 · 6 comments
Assignees
Labels
done Has been done. enhancement New feature or request

Comments

@onuh
Copy link

onuh commented Nov 13, 2021

Is there a way to reorder the numpad to start from 1 at the top and end with 0, then the backspace? Can we have the enter key on the numpad? How about a clipboard option to paste data directly from clipboard to input?

@furcan
Copy link
Owner

furcan commented Nov 29, 2021

Hi @onuh ,

Unfortunately, there is no such option to reorder the Numpad. I will consider this request for the next updates.
Till then, you can reorder the static key via the source file if you want.

Thanks,
Furkan.

@furcan furcan self-assigned this Nov 29, 2021
@furcan furcan added the enhancement New feature or request label Nov 29, 2021
@onuh
Copy link
Author

onuh commented Nov 30, 2021 via email

@furcan
Copy link
Owner

furcan commented Dec 4, 2021

Hi @onuh ,

A change event will be fired for each keypress. You can add a change event listener to the input elements instead of keyup.

And for the main issue; I will add a new option that allows the user to set custom numbers from 1 to 9 in any order for the Numpad type of keyboard. 0 will stay as it is.

Thanks,
Furkan.

@onuh
Copy link
Author

onuh commented Dec 4, 2021 via email

furcan added a commit that referenced this issue Dec 11, 2021
Removed: The `KioskBoard.Merge()` method has been removed. (This method already has been deprecated in v1.4.0)

Changed: `KioskBoard.Init()` function name has been changed to `KioskBoard.init()`.

Changed: `KioskBoard.Run()` function name has been changed to `KioskBoard.run()`.

Changed: Auto-generated `kioskboard-aio.js` file has been moved from `src/all-in-one` folder to `build` folder.

Changed: The `specialCharactersObject` option has been changed to `keysSpecialCharsArrayOfStrings`. An Array of Strings can be set to override the built-in special characters. e.g. => `["#", "$", "%", "+", "-", "*"]`

Fixed: Custom key with multiple characters: ([#31](#31))

Added: The `keysNumpadArrayOfNumbers` option has been added: An Array of Numbers can be set to override the built-in numpad keys. (From 0 to 9, in any order.) e.g. => `[1, 2, 3, 4, 5, 6, 7, 8, 9, 0]` - ([#30](#30))
@furcan
Copy link
Owner

furcan commented Dec 11, 2021

Hi @onuh ,

KioskBoard v2.0.0 has been released.

A new option has been added and the option name is keysNumpadArrayOfNumbers.
An Array of Numbers from 0 to 9 in any order can be set to this option to use a custom Numpad.

Also, this is a major release. Please take a look at the CHANGELOG before updating your current projects.

Thanks,
Furkan.

@furcan furcan closed this as completed Dec 11, 2021
@furcan furcan added the done Has been done. label Dec 11, 2021
@onuh

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done Has been done. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants