Tut mir Leid, dass ich den alten Thread nochmal aufwärme. Er geht mir seit Wochen im Kopf herum…
On Saturday 01 May 2010 23:37:37 Karl Köckemann wrote: > Um den Benutzern nicht zuviel Veränderung zuzumuten - obschon Arensito2 die > Sinnhaftigkeit beweist -, tendiere ich dazu, als Grundstellung beide Hände > um eine Spalte weiter nach rechts zu legen, weil es leicht fällt und beide > Kleinfinger dadurch maximal zwei Tasten seitwärts greifen müssen (statt > eine und drei Tasten). Nachdem ich es erst sehr kritisch sah, fühlt sich die Änderung für mich inzwischen immer besser an. Einziger Nachteil: shift-links ist dann schlecht zu erreichen. Da jetzt aber auch links unten ein M4 sein kann (Win_L) könnte das aktuelle zu einem zweiten shift_L werden. Ich würde dann allerdings mod-3 links auf das aktuelle u legen (M3 brauche ich ständig) und stattdessen das aktuelle ´ zu einer Zeichentaste machen. Dann für emacs noch strg auf capslock und alt auf Menü. > Der letzte Stand (17.12.2009: Mod4 bei Neo3 (und Win und Alt)) zur > Anordnung der Tasten der unteren beiden Tastenzeilen sei aufgegriffen: > > Mod3_links, ... Buchstaben ..., Mod3_rechts, Tote Taste, Enter > Strg | Alt | Mod4_links | Leertaste | Mod4_rechts | Win | Strg | Menü Ist die erste jetzt die mit Capslock (dritte von unten) und die zweite die erste von unten? Oder verlegst du mod3 eins runter und wirfst shift raus? > Bislang spricht nichts dagegen. Wenn (bei Standardtastaturen) eine dieser > beiden Anordnungen schon jetzt zugrunde gelegt werden könnte, dann wären > wir ein Schrittchen weiter. Der Unterschied liegt bei meinem Optimierer nur in der Kostenfunktion. Und da habe ich gerade eine config angepasst, die entsprechend optimierte Layouts ausgibt :) (allerdings ohne die weiteren Änderungen; nur die Tastenge) Zum Testen, leg es einfach in den Ordner mit check_neo.py und starte es mit ./check_neo.py --config config_eins_nach_rechts.py Liebe Grüße, Arne -- Ich hab' nichts zu verbergen – hab ich gedacht: - http://draketo.de/licht/lieder/ich-hab-nichts-zu-verbergen
#!/usr/bin/env python3
"""Configuration of check_neo: both hands shifted one key to the right."""
#: The mutated letters - only these get changed.
abc = "abcdefghijklmnopqrstuvwxyzäöüß,.´"
WEIGHT_POSITION = 1 #: reference cost - gets multiplied with the COST_PER_KEY.
WEIGHT_FINGER_REPEATS = 32 #: Cost of a finger repeat. Gets additional +1 from the row change on the same finger.
WEIGHT_FINGER_REPEATS_TOP_BOTTOM = 64 #: Additional cost of a finger repetition from the top to the bottom line. Gets added to the cost of the normal finger repetition. Additionally this gets costs as row repetition on the same hand (+4).
WEIGHT_BIGRAM_ROW_CHANGE_PER_ROW = 1 #: When I have to switch the row in a bigram while on the same hand, that takes time => Penalty per (row to cross / horizontal distance)² if we’re on the same hand.
WEIGHT_COUNT_ROW_CHANGES_BETWEEN_HANDS = False #: Should we count a row change with a handswitch as row change?
WEIGHT_FINGER_DISBALANCE = 30 #: multiplied with the standard deviation of the finger usage - value guessed and only valid for the 1gramme.txt corus.
WEIGHT_TOO_LITTLE_HANDSWITCHING = 1 #: how high should it be counted, if the hands aren’t switched in a triple?
WEIGHT_NO_HANDSWITCH_AFTER_DIRECTION_CHANGE = 5 #: how much stronger should the triple without handswitch be counted, if there also is a direction change? Also affects the “unweighted” result from total_cost!
WEIGHT_INTENDED_FINGER_LOAD_LEFT_PINKY_TO_RIGHT_PINKY = [
1,
2,
2,
2.6, # is 1/3 faster
1,
1,
2.6,
2,
2,
1] #: The intended load per finger. Inversed and then used as multiplier for the finger load before calculating the finger disbalance penalty. Any load distribution which strays from this optimum gives a penalty.
WEIGHT_XCVZ_ON_BAD_POSITION = 0.6 #: the penalty *per letter* in the text if xvcz are on bad positions (cumulative; if all 4 are on bad positions (not in the first 5 keys, counted from the left side horizontally) we get 4 times the penalty).
WEIGHT_FINGER_SWITCH = 1 #: how much worse is it to switch from middle to indexfinger compared with middle to pinky (~30ms according to Rohmert).
#: The cost for moving from one finger to another one with middle-to-index as 1 (30ms). Currently only uses the neighbors. Can also be used to favor a certain dairection. Adapted the Rohmert times as per my own experiences: http://lists.neo-layout.org/pipermail/diskussion/2010-May/017171.html and http://lists.neo-layout.org/pipermail/diskussion/2010-May/017321.html
FINGER_SWITCH_COST = {
"Klein_L": {"Ring_L": 2}, # 100ms
"Ring_L": {"Klein_L": 3,
"Mittel_L": 5}, # 140ms
"Mittel_L": {"Ring_L": 4,
"Zeige_L": 1}, # Nach Rohmert 230ms statt 200ms ⇒ 30ms
"Zeige_L": {"Mittel_L": 4}, # 120ms
"Daumen_L": {},
"Daumen_R": {},
"Zeige_R": {"Mittel_R": 4},
"Mittel_R": {"Zeige_R": 1,
"Ring_R": 4},
"Ring_R": {"Mittel_R": 5,
"Klein_R": 3},
"Klein_R": {"Ring_R": 2}
}
WEIGHT_NO_HANDSWITCH_AFTER_UNBALANCING_KEY = 1 #: How much penalty we want if there’s no handswitching after an unbalancing key. Heavy unbalancing (wkßz, M3 right, return and the shifts) counts double (see UNBALANCING_POSITIONS). This also gives a penalty for handswitching after an upparcase letter.
#: Positions which pull the hand from the base row, position and cost (the strength of the pulling from base row).
UNBALANCING_POSITIONS = {
(1, 0, 0): 2, # Tab
(1, 1, 0): 1,# x
(1, 2, 0): 1,# v
(1, 6, 0): 2, # k
(1, 7, 0): 2, # h
(1, 11, 0): 1, # ß
(1, 12, 0): 2, # ´
(2, 0, 0): 2, # L_M3
(2, 1, 0): 1, # u
(2, 6, 0): 1, # o
(2, 7, 0): 1, # s
(2, 12, 0): 1, # R_M3
(2, 13, 0): 2, # Return
(3, 0, 0): 2, # L_Shift
(3, 12, 0): 1, # R_Shift
(3, 7, 0): 2 # b
}
# Structured key weighting (but still mostly from experience and deducing from the work of others).
# The speed of the fingers is taken out (see INTENDED_FINGER_LOAD_LEFT_PINKY_TO_RIGHT_PINKY).
# So this shows the reachability of the keys, ignoring the different speed of the fingers.
# “How much does the hand hurt when reaching for the key” :)
# rationale: reaching for the Neo 2 x hurts thrice as much as just hitting the Neo2 u → 10 vs. 3.
# the upper keys on the right hand can be reached a bit better, since movement is aligned with the hand
# (except for q, since the pinky is too short for that).
# theoretical minimum (assigning the lowest cost to the most frequent char, counting only the chars on layer 1):
# 1123111113 = 3.3490913205386508 mean key position cost
# Ringfinger on lower row takes 1.5 times the time of index on the upper row[1].
# [1]: http://forschung.goebel-consult.de/de-ergo/rohmert/Rohmert.html - only one person!
COST_PER_KEY = [ # the 0 values aren’t filled in at the moment.
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,22, 0, 0], # Zahlenreihe (0)
[0, 18, 10, 6, 5, 6, 9, 10, 5, 4, 5, 8,12, 18], # Reihe 1
[0, 5, 3, 3, 3, 3, 5, 5, 3, 3, 3, 3,5,10], # Reihe 2
[20,15,10,12,12, 10, 10, 15, 7, 6,11,11, 12], # Reihe 3
[0,0,0, 3 , 0, 0, 0, 0] # Reihe 4 mit Leertaste
]
# for reference the neo layout
NEO = [
[("^"),("1"),("2"),("3"),("4"),("5"),("6"),("7"),("8"),("9"),("0"),("-"),("`"),("←")], # Zahlenreihe (0)
[("⇥"),("x"),("v"),("l"),("c"),("w"),("k"),("h"),("g"),("f"),("q"),("ß"),("´"),()], # Reihe 1
[("⇩"),("u"),("i"),("a"),("e"),("o"),("s"),("n"),("r"),("t"),("d"),("y"),("⇘"),("\n")], # Reihe 2
[("⇧"),(),("ü"),("ö"),("ä"),("p"),("z"),("b"),("m"),(","),("."),("j"),("⇗")], # Reihe 3
[(), (), (), (" "), (), (), (), ()] # Reihe 4 mit Leertaste
]
#: The positions which are by default accessed by the given finger.
FINGER_POSITIONS = {
"Klein_L": [(1, 1, 0), (1, 2, 0), (2, 0, 0), (2, 1, 0), (2, 2, 0), (3, 0, 0), (3, 1, 0), (3, 2, 0)], # Klein_L
"Ring_L": [(1, 3, 0), (2, 3, 0), (3, 4, 0)], # Ring_L
"Mittel_L": [(1, 4, 0), (2, 4, 0), (3, 5, 0)], # Mittel_L
"Zeige_L": [(1, 5, 0), (2, 5, 0), (3, 6, 0), (1, 6, 0), (2, 6, 0), (3, 7, 0)], # Zeige_L
"Daumen_L": [(4, 3, 0)], # Daumen_L
"Daumen_R": [(4, 3, 0)], # Daumen_R
"Zeige_R": [(1, 7, 0), (2, 7, 0), (3, 8, 0), (1, 8, 0), (2, 8, 0), (3, 9, 0)], # Zeige_R
"Mittel_R": [(1, 9, 0), (2, 9, 0), (3, 9, 0)], # Mittel_R
"Ring_R": [(1, 10, 0), (2, 10, 0), (3, 11, 0)], # Ring_R
"Klein_R": [(1, 11, 0), (2, 11, 0), (3, 12, 0), (1, 12, 0), (2, 12, 0), (2, 13, 0)] # Klein_R
}
signature.asc
Description: This is a digitally signed message part.
