Skip to content

C++ cross platform key-code library with cross platform virtual keyboard write(send) key library.

License

Notifications You must be signed in to change notification settings

Arniiiii/libWRP-key-cmaked-n-updated

 
 

Repository files navigation

libWRP-key

C++ cross platform key-code library with corss platform virtual keyboard write(send) key library.

Support

  • (Supported)
    • GNU/Linux
    • Mac/OSX
    • Microsoft/Windows

Library

The library is in the "./include" directory.

Install

for GNU/Linux or OSX

to system: install to /usr/local

cmake -S ./all -B ./build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS='-march=native -pipe' -DlibWRPkeycmakednupdated_ENABLE_LTO=ON -DlibWRPkeycmakednupdated_ENABLE_POLY=ON
cmake --build ./build --parallel $(nproc) --verbose
sudo cmake --install ./build/ --prefix=/

to the other:

sudo cmake --install ./build/ --prefix=~/

Windows

You should be set appropriately for your environment.

Example

example1/source/key.cxx

see folder example1/

example2/source/writer.cxx

see folder example2/

GNU/Linux: * need root *

sudo ./build/libWRPkeycmakednupdatedexample2/writer

OSX or Windows:

./build/libWRPkeycmakednupdatedexample2/writer

Note for Windows

You might need copy or symlink two .dll files from your development environment lib directory, but that's not sure:

  1. libgcc_s_sjlj-1.dll
  2. libstdc++-6.dll

Requirement

  • a c++ compiler ( for windows install or gcc or clang or visual studio with c++ parts . For mac maybe install xcode with c++ parts, idk. For linux install or gcc or clang or w/e)
  • cmake

Licence

Author

(C)2014 Usagi Ito[email protected] / Wonder Rabbit Project.

About

C++ cross platform key-code library with cross platform virtual keyboard write(send) key library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 73.4%
  • CMake 24.6%
  • Dockerfile 2.0%