sharlagelfand / ggkeyboard Goto Github PK
View Code? Open in Web Editor NEWMake a keyboard using ggplot2.
License: Other
Make a keyboard using ggplot2.
License: Other
Question: how would you recommend changing the keyboard's key mapping?
Thanks!
First off, this is AWESOME, thank you for building this. I started adding keys for the numpad but realized halfway through that a height param isn't in place, so I don't think it'd be possible to do a 2x tall key right now, is that the case? Here's what I was working on.
library(ggkeyboard)
library(tidyverse)
test <- tibble::tribble(
~key, ~row, ~width, ~number, ~key_label, ~key_type,
NA, 5, .25, 20, NA,NA,
"NumLock", 5, 1, 21, "Num\nLock","modifier",
"/", 5, 1, 22, "/","modifier",
"*", 5, 1, 23, "*","modifier",
"-", 5, 1, 24, "-","modifier",
NA, 4, .25, 20, NA,NA,
"7side", 4, 1, 21, "7","alphanumeric",
"8side", 4, 1, 22, "8","alphanumeric",
"9side", 4, 1, 23, "9","alphanumeric",
"+side", 4, 1, 24, "+","modifier",
NA, 3, .25, 20, NA,NA,
NA, 3, 1, 21, NA,NA,
NA, 3, 1, 22, NA,NA,
NA, 3, 1, 23, NA,NA,
NA, 3, .25, 20, NA,NA,
"4side", 3, 1, 24, "4","alphanumeric",
"5side", 3, 1, 25, "5","alphanumeric",
"6side", 3, 1, 26, "6","alphanumeric",
NA, 2, .25, 20, NA,NA,
NA, 2, 1, 21, NA,NA,
"1side", 2, 1, 22, "1","alphanumeric",
"2side", 2, 1, 23, "2","alphanumeric",
"3side", 2, 1, 24, "3","alphanumeric",
"Enterside", 2, 1, 24, "Enter","modifier",
NA, 1, .25, 20, NA,NA,
"0side", 1, 2, 22, "0","alphanumeric",
".side", 1, 1, 23, ".","alphanumeric"
)
tkl_mod <- ggkeyboard::tkl %>%
dplyr::add_row(test)
ggkeyboard(data = tkl_mod)
I think there's an error with symbols on keys 5 to 7 in the alphanumeric row. This appears for all keyboard types except steno. You can see it in the images in the README file. They read:
$ | % | ^ |
---|---|---|
5 | 6 | 7 |
Basically there's a repetition of $
and &
is missing. It should look like this, as per Wikipedia:
% | ^ | & |
---|---|---|
5 | 6 | 7 |
I think the the key_label
column in each of the .rda files in data/
(apart from steno) need to be updated.
I'll raise a pull request shortly with these changes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.