Changed messages about not recognized keys to include discourse link.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Fri, 26 May 2017 22:45:52 +0200
changeset 1103510552ae634ca
parent 11034 fcb1f3161d2e
child 11036 c5346d5c3c79
Changed messages about not recognized keys to include discourse link.
src/core/linux/SDL_evdev.c
src/video/cocoa/SDL_cocoakeyboard.m
src/video/nacl/SDL_naclevents.c
src/video/x11/SDL_x11events.c
src/video/x11/SDL_x11keyboard.c
     1.1 --- a/src/core/linux/SDL_evdev.c	Fri May 26 22:45:40 2017 +0200
     1.2 +++ b/src/core/linux/SDL_evdev.c	Fri May 26 22:45:52 2017 +0200
     1.3 @@ -398,8 +398,8 @@
     1.4  
     1.5      if (scancode == SDL_SCANCODE_UNKNOWN) {
     1.6          SDL_Log("The key you just pressed is not recognized by SDL. To help "
     1.7 -            "get this fixed, please report this to the SDL mailing list "
     1.8 -            "<sdl@libsdl.org> EVDEV KeyCode %d\n", keycode);
     1.9 +            "get this fixed, please report this to the SDL forums/mailing list "
    1.10 +            "<https://discourse.libsdl.org/> EVDEV KeyCode %d", keycode);
    1.11      }
    1.12  
    1.13      return scancode;
     2.1 --- a/src/video/cocoa/SDL_cocoakeyboard.m	Fri May 26 22:45:40 2017 +0200
     2.2 +++ b/src/video/cocoa/SDL_cocoakeyboard.m	Fri May 26 22:45:52 2017 +0200
     2.3 @@ -679,7 +679,7 @@
     2.4          SDL_SendKeyboardKey(SDL_PRESSED, code);
     2.5  #if 1
     2.6          if (code == SDL_SCANCODE_UNKNOWN) {
     2.7 -            fprintf(stderr, "The key you just pressed is not recognized by SDL. To help get this fixed, report this to the SDL mailing list <sdl@libsdl.org> or to Christian Walther <cwalther@gmx.ch>. Mac virtual key code is %d.\n", scancode);
     2.8 +            fprintf(stderr, "The key you just pressed is not recognized by SDL. To help get this fixed, report this to the SDL forums/mailing list <https://discourse.libsdl.org/> or to Christian Walther <cwalther@gmx.ch>. Mac virtual key code is %d.\n", scancode);
     2.9          }
    2.10  #endif
    2.11          if (SDL_EventState(SDL_TEXTINPUT, SDL_QUERY)) {
     3.1 --- a/src/video/nacl/SDL_naclevents.c	Fri May 26 22:45:40 2017 +0200
     3.2 +++ b/src/video/nacl/SDL_naclevents.c	Fri May 26 22:45:52 2017 +0200
     3.3 @@ -314,7 +314,7 @@
     3.4          scancode = NACL_Keycodes[keycode];
     3.5      }
     3.6      if (scancode == SDL_SCANCODE_UNKNOWN) {
     3.7 -        SDL_Log("The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL mailing list <sdl@libsdl.org> NACL KeyCode %d \n", keycode);
     3.8 +        SDL_Log("The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> NACL KeyCode %d", keycode);
     3.9      }
    3.10      return scancode;
    3.11  }
     4.1 --- a/src/video/x11/SDL_x11events.c	Fri May 26 22:45:40 2017 +0200
     4.2 +++ b/src/video/x11/SDL_x11events.c	Fri May 26 22:45:52 2017 +0200
     4.3 @@ -775,7 +775,7 @@
     4.4                  X11_XDisplayKeycodes(display, &min_keycode, &max_keycode);
     4.5                  keysym = X11_KeyCodeToSym(_this, keycode, xevent.xkey.state >> 13);
     4.6                  fprintf(stderr,
     4.7 -                        "The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL mailing list <sdl@libsdl.org> X11 KeyCode %d (%d), X11 KeySym 0x%lX (%s).\n",
     4.8 +                        "The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL forums/mailing list <https://discourse.libsdl.org/> X11 KeyCode %d (%d), X11 KeySym 0x%lX (%s).\n",
     4.9                          keycode, keycode - min_keycode, keysym,
    4.10                          X11_XKeysymToString(keysym));
    4.11              }
     5.1 --- a/src/video/x11/SDL_x11keyboard.c	Fri May 26 22:45:40 2017 +0200
     5.2 +++ b/src/video/x11/SDL_x11keyboard.c	Fri May 26 22:45:52 2017 +0200
     5.3 @@ -380,7 +380,7 @@
     5.4          SDL_Keycode keymap[SDL_NUM_SCANCODES];
     5.5  
     5.6          printf
     5.7 -            ("Keyboard layout unknown, please send the following to the SDL mailing list (sdl@libsdl.org):\n");
     5.8 +            ("Keyboard layout unknown, please report the following to the SDL forums/mailing list (https://discourse.libsdl.org/):\n");
     5.9  
    5.10          /* Determine key_layout - only works on US QWERTY layout */
    5.11          SDL_GetDefaultKeymap(keymap);