~ubuntu-branches/ubuntu/vivid/virtualbox/vivid

« back to all changes in this revision

Viewing changes to src/VBox/Frontends/VirtualBox/src/platform/x11/XKeyboard-new.cpp

  • Committer: Package Import Robot
  • Author(s): Felix Geyer
  • Date: 2013-03-31 23:25:01 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20130331232501-l72jhvixkeyyz6xc
Tags: 4.2.10-dfsg-0ubuntu1
* Start the virtualbox-guest-x11 init script earlier.
  The vboxvideo module needs to be loaded before X starts.
* Change runlevels of virtualbox-guest-x11 init script on upgrade.
* Fix build failure with the Debian wheezy kernel which backports the drm
  subsystem from Linux 3.4. (Closes: #703358)
* Drop build-dependency on bcc as it's not needed anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
static void dumpLayout(Display *display)
84
84
{
85
85
    LogRel(("Your keyboard layout does not appear to be fully supported by\n"
86
 
            "VirtualBox. If you would like to help us improve the product,\n"
87
 
            "please submit a bug report and attach this logfile.\n"
88
 
            "(Note: please ignore this if you are using a custom layout.)\n\n"
 
86
            "VirtualBox. If you are experiencing keyboard problems this.\n"
 
87
            "information may help us to resolve them.\n"
 
88
            "(Note: please tell us if you are using a custom layout.)\n\n"
89
89
            "The correct table for your layout is:\n"));
90
90
    /* First, build up a table of scan-to-key code mappings */
91
91
    unsigned scanToKeycode[512] = { 0 };
142
142
static void dumpType(Display *display)
143
143
{
144
144
    LogRel(("Your keyboard type does not appear to be known to VirtualBox. If\n"
145
 
            "you would like to help us improve the product, please submit a bug\n"
146
 
            "report, attach this logfile and provide information about what type\n"
 
145
            "you are experiencing keyboard problems this information may help us\n"
 
146
            "to resolve them.  Please also provide information about what type\n"
147
147
            "of keyboard you have and whether you are using a remote X server or\n"
148
148
            "something similar.\n\n"
149
149
            "The tables for your keyboard are:\n"));
207
207
    {
208
208
        LogRel(("Failed to recognize the keyboard mapping or to guess it based on\n"
209
209
                "the keyboard layout.  It is very likely that some keys will not\n"
210
 
                "work correctly in the guest.  If you would like to help us improve\n"
211
 
                "the product, please submit a bug report, giving us information\n"
212
 
                "about your keyboard type, its layout and other relevant\n"
213
 
                "information such as whether you are using a remote X server or\n"
214
 
                "something similar. \n"));
 
210
                "work correctly in the guest.  If this is the case, please submit\n"
 
211
                "a bug report, giving us information about your keyboard type,\n"
 
212
                "its layout and other relevant information such as whether you\n"
 
213
                "are using a remote X server or something similar. \n"));
215
214
        unsigned *keyc2scan = X11DRV_getKeyc2scan();
216
215
 
217
216
        LogRel(("The keycode-to-scancode table is: %d=%d",0,keyc2scan[0]));