1 Reply Latest reply: Oct 27, 2008 1:01 AM by 807557 RSS

    Type 7 keyboard drivers for Windows family

    807557
      Are there any windows drivers for the Type 7 keyboards that enables the extra 15 keys available. Personally I'd like to get my fantastic keyboard fully working with 64bit Vista.
        • 1. Re: Type 7 keyboard drivers for Windows family
          807557
          Hello.

          I do not think that there are windows drivers for the Sun Keyboard.

          Maybe the extra keys (Copy, Paste, Stop, ...) produce a WM_KEYDOWN message.
          In this case you can use the keys in self-written C programs.
          In this case there are also programs that allow you to put combinations of keys to one key. (Example: Such programs allow you to put Ctrl+V to F12 if you do not need F12. In your case you would put Ctrl+V to the "Paste" key of the Sun keyboard.)

          Martin

          --- Edit ---
          The following program can be used to check if the keys produce WM_KEYDOWN messages:
          /*
           * Show keys pressed
           * Copyright (c) 2008 by Martin Rosenau
           *
           * To compile this you may use Bloodsheed C++
           * for Windows (it is Freeware) or any other
           * Windows C compiler.
           */
          #define WIN32_LEAN_AND_MEAN
          #include <windows.h>
          
          LRESULT CALLBACK CBProc(HWND wn,UINT ms,WPARAM wp,LPARAM lp)
          {
              char a[100];
              if(ms==WM_CLOSE) PostQuitMessage(0);
              else if(ms==WM_KEYDOWN || ms==WM_SYSKEYDOWN)
              {
                  wsprintf(a,"Key: VK=%u, Scancode=%u, Ext=%u",
                      wp,(lp&0xFF0000)>>16,(lp&0x1000000)>>24);
                  SetWindowText(wn,a);
              }
              return DefWindowProc(wn,ms,wp,lp);
          }
          
          int PASCAL WinMain(HINSTANCE hi,HINSTANCE hPrev,LPSTR argv,int shMode)
          {
              WNDCLASS wc;
              HWND wn;
              MSG ms;
              ZeroMemory(&wc,sizeof(wc));
              wc.lpfnWndProc=&CBProc;
              wc.hInstance=hi;
              wc.hCursor=LoadCursor(NULL,IDC_ARROW);
              wc.hbrBackground=(HBRUSH)(COLOR_WINDOW+1);
              wc.lpszClassName="KeyTestProgram";
              RegisterClass(&wc);
              wn=CreateWindow(wc.lpszClassName,
                  "Please press a key in this window.",
                  WS_CAPTION|WS_SYSMENU|WS_MINIMIZEBOX,
                  CW_USEDEFAULT,0,300,100,NULL,NULL,hi,NULL);
              ShowWindow(wn,SW_SHOWNORMAL);
              while(GetMessage(&ms,NULL,0,0))
                  DispatchMessage(&ms);
              UnregisterClass(wc.lpszClassName,hi);
              return 0;
          }