Commit graph

33 commits

Author SHA1 Message Date
Joshua Horton
e61fa5673a Merge branch 'master' into web-9-modifier-chirality 2017-09-25 08:27:31 +07:00
Joshua Horton
4271c1a46f Fixes up the samples index and connectivity a bit and corrects the fix to not break the desktop OSK. 2017-09-15 08:40:46 +07:00
Joshua Horton
eeed83f27e Initial fix for #116 - turns out that we had an unnecessary next layer check earlier than it needed to be. Removing that fixes the issue.
Main thing now:  fleshing out the testing keyboard to make the tests a little simpler.
2017-09-14 12:37:31 +07:00
Joshua Horton
7c9a3d6436 Undid Closure notation from added code where possible, enforced single-quotes for consistency/searchability, and polished chirality.js a bit. 2017-09-14 09:32:15 +07:00
Joshua Horton
b87dfe545e AltGr simulation is nearly ready, but has some issues with working properly on... actual European keyboards when the AltGr key is pressed. *sigh* 2017-09-12 08:32:38 +07:00
Joshua Horton
11bed888bc Incorporates most of the requested changes from @mcdurdin's recent PR review.
There's still a bit of work to do on supporting proper CAPS_LOCK state upon element refocusing, as with switching tabs.
2017-09-12 08:32:38 +07:00
Joshua Horton
5d86d1a3e9 Initial implementation of state key handling is now in place. The OSK version of state keys acts just like the OSK version of modifiers. Chiral keyboard now auto-caps all keys when CAPS LOCK is active. 2017-09-12 08:32:38 +07:00
Joshua Horton
b4cab07e22 Behold! Actual chiral output! Supported both by physical keystrokes and osk interaction.
Yet to do:  state keys, embedded integration.
2017-09-12 08:32:38 +07:00
Joshua Horton
79e8212e0e Enhanced documentation on osk.updateLayer. 2017-09-12 08:32:37 +07:00
Joshua Horton
71fe50048a Implements proper detection of the modifier state both from the OSK and the physical keyboard and also ensures that osk.clickKey operates as expected for existing keyboards. 2017-09-12 08:32:37 +07:00
Joshua Horton
8297ab36f5 Conversation with @mcdurdin - it's enough of an edge case that we'd rather save on file size. 2017-09-12 08:32:37 +07:00
Joshua Horton
d29c531da7 Undoes the chirality constraints due to its effect on visual feedback. 2017-09-12 08:32:37 +07:00
Joshua Horton
afd43a4345 Fixes the potential layer generator to follow our planned chirality constraints. 2017-09-12 08:32:37 +07:00
Joshua Horton
c59ed4f511 Fixed up the bitflag constants and added a 'is chiral?' testing bitmask. 2017-09-12 08:32:37 +07:00
Joshua Horton
2014b68437 Developed an initial testing framework for the chirality changes, corrected default behavior of buildDefaultLayout when KLS lacks specifications for default layers. 2017-09-12 08:32:37 +07:00
Joshua Horton
621bdf0ce9 Further refactoring, documentation, and cleaning of osk.buildDefaultLayout. 2017-09-12 08:32:37 +07:00
Joshua Horton
684421f20a Refactors out the key-102 handling into one of the new helper functions, aiding the readability of osk.buildDefaultLayout. 2017-09-12 08:32:37 +07:00
Joshua Horton
0d124581aa Heavily refactors osk.buildDefaultLayout in prep for implementation of modifier chirality. Also defines a lot of nice modifier + state-key constants. 2017-09-12 08:32:37 +07:00
Joshua Horton
e539f4eaaf Merge pull request #212 from keymanapp/web-remove-shims
[Web] Removes now-deprecated shim elements.
2017-08-23 12:14:29 +07:00
Joshua Horton
abb9d7444f Removes shim elements and references while deprecating the old shim API functions. 2017-08-21 13:39:30 +07:00
Marc Durdin
edaaea8026 Fixup off-by-one in defaultKeyOutput 2017-08-18 15:59:42 +07:00
Marc Durdin
a855af3afd Rework the logic around U_xxxx when not in VKDictionary 2017-08-18 13:57:58 +07:00
Marc Durdin
8d7629a40f Fix for #160 2017-08-17 14:30:09 +07:00
Marc Durdin
7125e3a08e KeymanWeb 10.0 alpha (#124)
* Fixes #107 - move __BUILD__ and dfltLayout variables into tavultesoft object

* Cherry-pick fix for error from attachment api rework #114

* Fixup missing __BUILD__ reference

* Update header version number

* Fixup broken getDefaultKeyObject() call so we can release 2.0

* Fixes #118 - longpress menu sometimes missing base key on phone devices (#134)

* Add note to build scripts to remind devs to make changes to both scripts
2017-07-26 07:36:58 +07:00
Marc Durdin
b26781f44d Long press in numeric/symbol layers does not work 2017-07-10 10:14:19 +07:00
Joshua Horton
152880b883 Wrapped most source files with conditional loading scheme in order to block accidentally redefining functionality and data if KMW is loaded multiple times.
A few of the simpler files (definitions of string functions, basic init) were left unchanged.
2017-07-04 09:17:27 +07:00
Marc Durdin
487354810e Fixup copyright messages and links to remove references to Tavultesoft 2017-06-14 14:09:12 +07:00
Joshua Horton
048449727f More keycode kleanup. 2017-06-09 11:10:41 +07:00
Joshua Horton
6669d1b1b8 Removed dead condition from the OSK's default keymapping function, swapped from using raw numbers to keycode references. 2017-06-09 10:05:00 +07:00
Joshua Horton
fa8f8fff00 Added a small measure to prevent div-by-0 errors in osk.adjustHeights. 2017-06-01 08:59:04 +07:00
Joshua Horton
5e434005cc Allows dynamic row height adjustments for different layers on the keyboard. 2017-05-30 15:09:19 +07:00
Joshua Horton
ea0395a13c Updated the version of Google Closure and patched up the code in accordance with its new warnings. 2017-05-30 09:19:06 +07:00
Marc Durdin
16ef06a879 Move KeymanWeb project to web/ 2017-05-26 11:00:34 +07:00
Renamed from source/kmwosk.js (Browse further)