× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Tell me what mapping you would like and I'll add it for you.

OK, I thought I could do it... I got all of my other changes to work just fine, but I can't get the cent sign to come out.


I figure the key I want is XK_bracketleft but I'm not sure how to output a character. If I key the cent sign (copy/paste) I get
warning: multi-character character constant


I thought maybe I could return XK_cent, but that didn't work either.

Just in case anyone else likes my keymapping (and for me if I delete my file by mistake!)

--- key.c.bak   2004-12-16 16:17:37.000000000 -0500
+++ key.c       2004-12-16 18:14:59.356102541 -0500
@@ -87,12 +87,12 @@
   /* now need to do the right thing with every keysym possibility,
    *as minimum:
    */
-  if ((*keysym == XK_Return) || (*keysym == XK_Linefeed))
+  if ((*keysym == XK_Linefeed) || (*keysym == XK_Control_R))
     {
       *fieldcount = 0;
       return K_ENTER;
     }
-  else if (*keysym == XK_KP_Enter)
+  else if ((*keysym == XK_Return) || (*keysym == XK_KP_Enter))
     {
       return K_FIELDEXIT;
     }
@@ -118,6 +118,10 @@
           */
        }
     }
+  else if (*keysym == XK_Control_L)
+    {
+      return K_RESET;
+    }
   else if ((*keysym >= XK_Shift_L) && (*keysym <= XK_Hyper_R))
     {
       return (-1);             /* do nothing because its a modifier key */
@@ -317,11 +321,18 @@
     }
   else if (*keysym == XK_Escape)
     {
-      return K_ATTENTION;
+      if ((report->xkey.state & ShiftMask) != 0)
+        {
+          return K_SYSREQ;
+        }
+      else
+        {
+          return K_ATTENTION;
+        }
     }
   else if (*keysym == XK_End)
     {
-      return K_END;
+      return K_NEWLINE;
     }
   else if (*keysym == XK_Delete)
     {


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.