;Wasn't really sure about the netiquette on this one. On one hand, I was the last poster, and double posting makes me feel dirty. On the other hand, it was several days ago, and I am bringing new content to the table (kinda), which might be of interest to those that already read the last post on the thread, which just so happens to be mine. Decisions, decisions... Hell with it! *POST*
Edit: To clear things up before someone gets the wrong idea (because misunderstanding is what humans do best!), I am not suggesting/recommending/demanding that either of these changes I've listed below be applied to the bundled layouts by default. Just saying that these tweaks are working out pretty nice for me, and in case readers are interested, giving a basic outline on how I did them. ...and some light ranting for my own writing amusement.
Post Start
FYI: Turns out ={key} will allow things like Enter/Tab/Space in PKL layout.ini files. So, the horizontal tab character would be ={ASC 0009}. Found it on the first SC039 = SPACE line in the (eD) layouts.
Used this to set Shift+Space into Enter (after disabling the second SC039 entry), to simplify QuoteEnter combos.
;[rant]
;... and EnterQuote.
;...
;Actually QuoteEnter and EnterQuote tend to run together quite often, making it something more like QuoteEnterQuote. Or, if you have the good sense to write in a plain text editor, it will probably be QuoteEnterEnterQuote! Seriously, when was the last time you saw such poorly behaved punction?! Eh, was that a double, SIMULTANEOUS, consecutive finger use I just saw? And what if this was dialog?
;...
;Yeah; you guessed it. If you follow the books, the line up looks like this: LShift-Question mark. RShift-Exclaimation point. LShift-Quote. ENTER. Don't even get me started on smart quotes, ¿, ¡, « », etc. Despite their admitted advantages for both sytax and, when not strictly required, providing options for stylistic and expressive flexibility; there is little they can do that can't be done with creative use of more reasonable, and readily accessable, punctuation.
;Hmpf!
;... ...
;*cough*
;[/rant]
Yeah, so ANYWAYS: I also edited the layout to replace number row numbers with their number pad equivalents. Did this for easier access to various keyboard fuctions that require number pad, like Alt codes (because I TOTALLY didn't just go on a quarter page long rant about the evils of shift layers and alternative punctuation).
This should be especially useful on compact desktop keyboards that, for some unfathomable reason, often lack the embedded numberpad feature. The switched keys are not effected by Numlock state, and the change does not (seem to) interfere with normal usage or the shifted layers. I did not swap symbols (+-/*) with their numberpad counterparts, as numberpad keys represent functions, not glyphs and do not work in text areas.
Sample Edits of {keyboard}(eD)\layout.ini:
(Yes, I know the columns don't line up. Increase tabstop size in your editor and it will fix itself.)
Space+Shift=Enter
;scan = VK CapStat 0Norm 1Sh 2Ctrl 6AGr 7AGrSh Caps CapsSh
SC039 = SPACE 0 ={space} ={enter} -- ={space} ; QWERTY Space
NumberPadBar: NonWide Layouts
;scan = VK CapStat 0Norm 1Sh 2Ctrl 6AGr 7AGrSh Caps CapsSh
SC002 = 1 0 ={Numpad1} ! -- dk15 ¡ ; QWERTY 1! - dk_dotbelow
SC003 = 2 0 ={Numpad2} @ -- dk12 ² ; QWERTY 2@ - TODO: dk_hook
SC004 = 3 0 ={Numpad3} # -- dk12 ³ ; QWERTY 3# - TODO: dk_horn
SC005 = 4 0 ={Numpad4} $ -- dk17 £ ; QWERTY 4$ - dk_currency
SC006 = 5 0 ={Numpad5} % -- € ‰ ; QWERTY 5% - TODO: dk_math
SC007 = 6 0 ={Numpad6} ^ -- dk6 ∂ ; QWERTY 6^ - dk_cirkumflex
SC008 = 7 0 ={Numpad7} & -- dk7 ¬ ; QWERTY 7& - dk_caron
SC009 = 8 0 ={Numpad8} * -- dk8 ∞ ; QWERTY 8*- dk_ogonek
SC00a = 9 0 ={Numpad9} ( -- dk9 · ; QWERTY 9( - dk_breve
SC00b = 0 0 ={Numpad0} ) -- dk10 ° ; QWERTY 0) - dk_ringabove
And yes, while immature, I did think that sytax highlighting the comments in this post was amusing. (Though I don't know why it forced me to tag each paragraph separately)
EDIT: PS. The extended layer could technically include mouse functions (like horizontal/vertical movement, wheel and button clicks) too, right? While I can't see much point in it, as this... erm, mod[/?] is pretty much all about rodent desertion (or at least reduction), what could be gained? What do we feel would be the most efficient use of a second mouse layer, with the given keyboard functions?
... the only thing that comes to my mind is scrolling, really. Switch WheelUp/WheelDown to PageUp/PageDown, WheelLeft/WheelRight to Home and End, and maybe MouseMove to 1:1 scrolling or wheelclicks? Ctrl-click would be pretty pointless as holding down the Caps already involves the second hand, as would Shift-click.
On the other hand, making a mouse button into an extended layer control to, for instance, mirror swap the keyboard a la HalfQwerty... now that could be kinda cool.
Last edited by cevgar (31-Jan-2014 06:55:45)