Showing 2 changed files with 0 additions and 8 deletions
-1
Nasal/core.nas
... ...
@@ -105,7 +105,6 @@ var deviceClass = {
105 105
         m.buttons  = buttonsClass.new(m.node);
106 106
         m.knobs    = knobsClass.new(m.node);
107 107
         m.softkeys = softkeysClass.new(m, m.node, m.role);
108
-#m.softkeys.clean();
109 108
         m.display.loadsvg();
110 109
         m.display.loadGroup({
111 110
             hide : [
-7
Nasal/softkeys.nas
... ...
@@ -8,13 +8,6 @@ var softkeysClass = {
8 8
         return m;
9 9
     },
10 10
 
11
-    clean : func {
12
-        # deletes unsed bindings
13
-        foreach (var b; keys(me.bindings))
14
-            if (b != me.role)
15
-                delete(me.bindings, b);
16
-    },
17
-
18 11
     SoftKey : func (n, a) {
19 12
         # released key not yet managed
20 13
         if (a == 1)