Joshua Horton
602edbe11b
Addresses point 1 of #103 - prevents duplicate requests for identical keyboard-language pairings.
2017-10-06 10:44:31 +07:00
Joshua Horton
16048e5573
setIsChiral() is now operational.
2017-10-04 10:33:16 +07:00
darcywong00
f9f3dc7449
Document bitmasks and undo getActiveKeyboard refactor
...
* Document shift states and lock states in kmembedded.js, and standardize `lstates` parameter name
* Leave getActiveKeyboard() refactor as a TODO
2017-10-04 10:33:16 +07:00
darcywong00
f9066a5926
Start adding chirality modifiers to KMEA
...
This is follow-on to #300 for adding chirality modifiers to KMEA.
Add support for L/R Ctrl, Alt, caps lock, num lock, and scroll lock for external keyboard
- temporarily adding test chriality.js keyboard
2017-10-04 10:33:16 +07:00
Joshua Horton
d5cfe35927
Merge branch 'master' into web-9-modifier-chirality
2017-09-27 15:18:52 +07:00
Joshua Horton
8056351148
Some minor sample page refactoring & exposition on chirality.js.
2017-09-25 12:07:08 +07:00
Joshua Horton
5775f84269
Fixes up _KeyDown's original documentation comment.
2017-09-25 11:56:15 +07:00
Joshua Horton
e9a85cd2c4
Removed incomplete fix code that snuck in the prior commit.
2017-09-25 11:53:57 +07:00
Joshua Horton
d007a5a22b
Undoes physical input support for touch devices while in native (not app-embedded) mode.
2017-09-25 11:50:24 +07:00
Joshua Horton
36b1aae2e8
Properly initializes the bitmask within KKM.
2017-09-25 08:43:32 +07:00
Joshua Horton
e61fa5673a
Merge branch 'master' into web-9-modifier-chirality
2017-09-25 08:27:31 +07:00
Joshua Horton
0868ff93bf
Adds previously-referenced html changes and adds an item to history.md regarding this fix.
2017-09-15 09:28:50 +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
81e294fd6e
Fleshed out the CAPS layer of the testing keyboard - all CAPS-affected keys now do special CAPS printouts to prove the layer differentiation.
2017-09-15 08:16:04 +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
9bd6739d1d
Adds comments/disclaimers to the handwritten chirality.js.
2017-09-14 10:22:06 +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
18e08d2f87
Adds persistent tracking for state key activation, checks for any changes to the modfier state by simple integer comparison and updates OSK accordingly.
...
Removes `mousemove` based polling due to its potential performance overhead.
2017-09-12 09:46:37 +07:00
Joshua Horton
3d60004118
Patches up a Firefox bug with European layout AltGr presses and KMW OSK management.
2017-09-12 08:32:38 +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
75f21e399c
Fixes the handler-removal function name.
2017-09-12 08:32:38 +07:00
Joshua Horton
765ef90af6
Added code facilitating CAPS_LOCK OSK state management when KMW handling is out of focus.
...
Includes some commented-out prelim work on AltGr simulation... it's proving very tricky.
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
c6e206e0fe
Changed relevant nextlayer properties in kmwLayout to use kebab-case - AltGr was broken for mobile due to chirality changes.
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
418ac7cf5f
Tabs -> spaces.
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
darcywong00
00396767cf
Address review comments
...
* Fix formatting
* Remove unnecessary `osk.layerIndex = 0;` line
2017-09-11 12:52:44 +07:00
darcywong00
57deb5c235
Address initial review comments
...
* Change keyboard.html reference to resetContext()
* Fix javascript typo
* Change system keyboard check from `!SystemKeyboardShouldIgnoreSelectionChange` to `!SystemKeyboardShouldIgnoreTextChange`
* Remove unnecessary code in resetContext()
2017-09-08 10:18:10 +07:00
darcywong00
774802615b
remove temporary console.logs
2017-09-07 20:17:43 +07:00
darcywong00
f373695a0b
Update resetContext
...
move to keymanweb.js
Also clean up formatting
2017-09-07 15:06:11 +07:00
darcywong00
04dab8c4e5
add hooks to reset default layer
2017-09-06 14:56:25 +07:00
Joshua Horton
248fa2f54b
Changes out PR #s for Issue #s where available, corrects issue formatting mistake for an item.
2017-09-06 08:22:33 +07:00
Joshua Horton
0bbf78323f
Fixes markdown formatting a bit.
2017-09-05 10:13:42 +07:00
Joshua Horton
7908d81800
Created web's history.md file based on help.keyman.com's listed history.
2017-09-05 10:04:30 +07:00
Gabriel Wong
7b16636b8a
Don't need special case for cp -R on Mac
2017-09-01 08:32:38 +07:00
Gabriel Wong
c3aa9aa70c
Update web README
2017-09-01 08:32:38 +07:00
Gabriel Wong
36f33cbb5f
Point compiled samples to correct resources dir
2017-09-01 08:32:38 +07:00
Joshua Horton
7febeff4d3
Fixes unexpected '%' insertion in compiled UI code.
2017-08-30 10:26:26 +07:00
darcywong00
e53169d933
Update README files
...
root README
-Add iOS CI build status
-Organize according to desktop and web/mobile platforms
web/README
- Reorder content to a *Minimum Web Requirements* section
ios/README
- Add some formatting
2017-08-30 08:22:00 +07:00