kbdmine-Layout hinzugefügt und in Buildskripten eingetragen

pull/610/head
qwertfisch 10 months ago
parent d0cc8fb0b8
commit ca6f3fde5d
  1. 3
      .gitignore
  2. 7
      windows/kbdneo2/build/build_x64.cmd
  3. 9
      windows/kbdneo2/build/build_x86.cmd
  4. BIN
      windows/kbdneo2/build/kbdmine_win10_install.reg
  5. 6
      windows/kbdneo2/source/.vscode/settings.json
  6. 3510
      windows/kbdneo2/source/kbdmine/kbdmine.c
  7. 4
      windows/kbdneo2/source/kbdmine/kbdmine.def
  8. 105
      windows/kbdneo2/source/kbdmine/kbdmine.h
  9. 35
      windows/kbdneo2/source/kbdmine/kbdmine.rc

3
.gitignore vendored

@ -26,6 +26,9 @@ __pycache__
/windows/kbdneo2/source/.vs
/windows/kbdneo2/source/**/Release
/windows/kbdneo2/source/**/*.vcxproj.user
/windows/kbdneo2/source/**/x64/
/windows/kbdneo2/source/**/x86/
/windows/kbdneo2/source/**/x86-wow64/
# /windows/kbdneo2/AHK-supplement/
/windows/kbdneo2/AHK-supplement/bone/kbdbone.exe

@ -2,7 +2,7 @@
pushd ..\source
REM Build Bone, Neo, Qwertz
REM Build Bone, Neo, Qwertz, Mine
cd kbdbone
IF NOT EXIST x64 mkdir x64
@ -19,4 +19,9 @@ IF NOT EXIST x64 mkdir x64
call ..\..\build\build_variant_x64.cmd gr2
cd ..
cd kbdmine
IF NOT EXIST x64 mkdir x64
call ..\..\build\build_variant_x64.cmd mine
cd ..
popd

@ -2,7 +2,7 @@
pushd ..\source
REM Build Bone, Neo, Qwertz
REM Build Bone, Neo, Qwertz, Mine
cd kbdbone
IF NOT EXIST x86 mkdir x86
@ -25,4 +25,11 @@ call ..\..\build\build_variant_x86.cmd gr2
call ..\..\build\build_variant_x86_wow64.cmd gr2
cd ..
cd kbdmine
IF NOT EXIST x86 mkdir x86
IF NOT EXIST x86-wow64 mkdir x86-wow64
call ..\..\build\build_variant_x86.cmd mine
call ..\..\build\build_variant_x86_wow64.cmd mine
cd ..
popd

@ -0,0 +1,6 @@
{
"files.associations": {
"kbd_mod.h": "c",
"kbd.h": "c"
}
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,4 @@
LIBRARY KBDMINE
EXPORTS
KbdLayerDescriptor @1

@ -0,0 +1,105 @@
/****************************** Module Header ******************************\
* Module Name: KBDMINE.H
* Mine-Layout, basierend auf Neo2
\***************************************************************************/
// basiert auf den in der kbd.h definierten KBD-Type 4
#define KBD_TYPE 4
// kbd.h einschließen
#include "kbd.h"
#include <dontuse.h>
/* **************************************************************************************************************\
*
* +---+ +---------------+ +---------------+ +---------------+ +--------------+
* |T01| |F1 ¦F2 ¦F3 ¦F4 | |F5 ¦F6 ¦F7 ¦F8 | |F9 ¦F10¦F11¦F12| |Druk¦Roll¦Paus|
* +---+ +---------------+ +---------------+ +---------------+ +--------------+
* +---------------------------------------------------------+ +--------------+ +---------------+
* |T29¦T02¦T03¦T04¦T05¦T06¦T07¦T08¦T09¦T0A¦T0B¦T0C¦T0D¦ T0E | |Einf¦Pos1¦PgUp| ¦Num¦ / ¦ * ¦ - ¦
* |---------------------------------------------------------| |--------------| +---+---+---+---¦
* |T0F¦T10¦T11¦T12¦T13¦T14¦T15¦T16¦T17¦T18¦T19¦T1A¦T1B¦ Ret | |Entf¦Ende¦PgDn| ¦ 7 ¦ 8 ¦ 9 ¦ ¦
* |-----------------------------------------------------+ | +--------------+ +---+---+---¦ ¦
* | T3A ¦T1E¦T1F¦T20¦T21¦T22¦T23¦T24¦T25¦T26¦T27¦T28¦T2B¦ | ¦ 4 ¦ 5 ¦ 6 ¦ + ¦
* |---------------------------------------------------------| +----+ +---+---+---+---¦
* |T2A ¦T56¦T2C¦T2D¦T2E¦T2F¦T30¦T31¦T32¦T33¦T34¦T35¦ T36 | | Up | ¦ 1 ¦ 2 ¦ 3 ¦ ¦
* |---------------------------------------------------------| +----+----+----+ +-------+---¦ ¦
* | Str ¦ Fe ¦ Al ¦ Leerzeichen ¦X38 ¦ Fe ¦ Me ¦ Str | |Left¦Down¦ Re.¦ ¦ 0 ¦ , ¦Ent¦
* +---------------------------------------------------------+ +--------------+ +---------------+
*/
// Tastenumbelegung für Mine ; sonstige Tastenzuordnung siehe kbd.h
#undef T0D
#define T0D _EQ( OEM_2 ) // T2
#undef T10
#define T10 _EQ( 'Z' )
#undef T11
#define T11 _EQ( 'L' )
#undef T12
#define T12 _EQ( 'U' )
#undef T13
#define T13 _EQ( 'A' )
#undef T14
#define T14 _EQ( 'J' )
#undef T15
#define T15 _EQ( 'W' )
#undef T16
#define T16 _EQ( 'B' )
#undef T17
#define T17 _EQ( 'D' )
#undef T18
#define T18 _EQ( 'G' )
#undef T19
#define T19 _EQ( 'Y' )
#undef T1A
#define T1A _EQ( 'Q' )
#undef T1B
#define T1B _EQ( OEM_3 ) // qwertz-ß
#undef T1E
#define T1E _EQ( 'C' )
#undef T1F
#define T1F _EQ( 'R' )
#undef T20
#define T20 _EQ( 'I' )
#undef T21
#define T21 _EQ( 'E' )
#undef T22
#define T22 _EQ( 'O' )
#undef T23
#define T23 _EQ( 'M' )
#undef T24
#define T24 _EQ( 'N' )
#undef T25
#define T25 _EQ( 'T' )
#undef T26
#define T26 _EQ( 'S' )
#undef T27
#define T27 _EQ( 'H' )
#undef T28
#define T28 _EQ( OEM_102 ) // Mod 3
#undef T29
#define T29 _EQ( OEM_1 ) // T1
#undef T2B
#define T2B _EQ( OEM_4 ) // T3
#undef T2C
#define T2C _EQ( 'V' )
#undef T2D
#define T2D _EQ( 'X' )
#undef T2E
#define T2E _EQ( OEM_5 ) // ü
#undef T2F
#define T2F _EQ( OEM_7 ) // ä
#undef T30
#define T30 _EQ( OEM_6 ) // ö
#undef T31
#define T31 _EQ( 'P' )
#undef T32
#define T32 _EQ( 'F' )
#undef T35
#define T35 _EQ( 'K' )
#undef T3A
#define T3A _EQ( OEM_102 ) // Mod 3
#undef X38
#define X38 _EQ( OEM_8 ) // Mod 4
#undef T56
#define T56 _EQ( OEM_8 ) // Mod 4

@ -0,0 +1,35 @@
#include <windows.h>
#define VER_USE_OTHER_MAJOR_MINOR_VER
#define VER_PRODUCTMAJORVERSION 2
#define VER_PRODUCTMINORVERSION 0
#define BETA 1
#include <ntverp.h>
#undef VER_PRODUCTBUILD
#define VER_PRODUCTBUILD 1234
#undef VER_PRODUCTBUILD_QFE
#define VER_PRODUCTBUILD_QFE 0
#undef VER_COMPANYNAME_STR
#define VER_COMPANYNAME_STR "neo-layout.org"
#undef VER_PRODUCTNAME_STR
#define VER_PRODUCTNAME_STR "Mine Tastaturtreiber"
#define VER_LEGALCOPYRIGHT_STR "https://neo-layout.org/Beitragen/Lizenzfragen/"
#undef VER_LEGALTRADEMARKS_STR
#define VER_LEGALTRADEMARKS_STR \
"wiki.neo-layout.org/wiki/Lizenzfragen"
#define VER_FILETYPE VFT_DLL
#define VER_FILESUBTYPE VFT2_DRV_KEYBOARD
#define VER_FILEDESCRIPTION_STR "Deutsch (Mine) Tastaturlayout"
#define VER_INTERNALNAME_STR "kbdmine"
#define VER_ORIGINALFILENAME_STR "kbdmine.dll"
#define VER_LANGNEUTRAL
#include "common.ver"
Loading…
Cancel
Save