Skip to content

New Hebrew Keyboard

One downside of the virtual keyboard is that it takes over the physical keyboard, so that typing is in the language of the virtual keyboard. This is often an advantage, but I usually want to mix Hebrew and English text. So I modified the program to track the Caps Lock key: if the caps lock key is depressed, then the physical keyboard types in the virtual language; if not (the usual state) the physical keyboard remains at its default. I'm using the new code in the Young Israel Hebrew Keyboard (now renamed the Bililite Hebrew Keyboard).

The big disadvantage is that the Caps Lock key is now disabled as a caps lock key. This is generally a good thing, but the standard Israeli keyboard uses it to insert nikud (the vowel markings that are placed over and under the consonants). So my keyboard can't insert nikud, which is not a problem for my usual uses, and the page is set to change to the original code with the query string ?keyboard=original.

The code was some minor changes in virtualkeyboard.js:

And a new button sprite image to reflect the new use of the Caps Lock key (this is in the css folder, in the desired theme; it's the button_set.png image): Modified Keyboard.

{ 1 } Comments

  1. Fatal error: Uncaught Error: Call to undefined function ereg() in /home/public/blog/wp-content/themes/barthelme/functions.php:178 Stack trace: #0 /home/public/blog/wp-content/themes/barthelme/comments.php(34): barthelme_commenter_link() #1 /home/public/blog/wp-includes/comment-template.php(1469): require('/home/public/bl...') #2 /home/public/blog/wp-content/themes/barthelme/single.php(44): comments_template() #3 /home/public/blog/wp-includes/template-loader.php(74): include('/home/public/bl...') #4 /home/public/blog/wp-blog-header.php(19): require_once('/home/public/bl...') #5 /home/public/blog/index.php(17): require('/home/public/bl...') #6 {main} thrown in /home/public/blog/wp-content/themes/barthelme/functions.php on line 178