Root/ase/patches/070-ignore-nanonote-fn-key.patch

1Index: ase-0.8.2/src/widgets/editor/editor.cpp
2===================================================================
3--- ase-0.8.2.orig/src/widgets/editor/editor.cpp 2011-06-16 21:41:31.000000000 +0200
4+++ ase-0.8.2/src/widgets/editor/editor.cpp 2011-06-16 21:42:02.000000000 +0200
5@@ -1331,7 +1331,8 @@
6         editor_setcursor(jmouse_x(0), jmouse_y(0));
7         return true;
8 
9- case KEY_LCONTROL:
10+ /* on nanonote, lcontrol is the 'Fn' key used to type in numbers */
11+ // case KEY_LCONTROL:
12       case KEY_RCONTROL:
13         // If the user press the CTRL key when he is dragging pixels (but not pressing the mouse buttons)...
14         if (!m_ctrl_pressed && !jmouse_b(0) && m_pixelsMovement) {
15@@ -1367,7 +1368,8 @@
16       }
17       break;
18 
19- case KEY_LCONTROL:
20+ /* on nanonote, lcontrol is the 'Fn' key used to type in numbers */
21+ // case KEY_LCONTROL:
22       case KEY_RCONTROL:
23         if (m_ctrl_pressed) {
24           m_ctrl_pressed = false;
25

Archive Download this file



interactive