Skip to content

r1noff/UnityCraft

Repository files navigation

Logitech Craft Unity plugin

Unity plugin that adds Logitech Craft keyboard support to the editor

Installation

  1. Enable keyboard developer mode
  2. Click + inside editor package manager window and select "Add package from git URL..."
  3. Enter https://github.com/r1noff/UnityCraft.git and click add button
  4. After package successfully installs go to Library/PackageCache/com.r1noff.unitycraft@* and run InstallPlugin.bat as administrator. It will create symlink of manifest folder into the LogiOptionsPlugins folder (or you can just copy it manually, for details see official SDK documentation)
  5. Run RestartLogitechOptions.bat or restart logitech options app by yourself

Usage

The plugin selects what the crown is responsible for, depending on the state of the editor (by priority from top to bottom)

Icon Сondition Turn left Turn right
Scale Left mouse button is pressed on selected game object Decrease game object scale Increase game object scale
Profiler Mouse is over profiler window Select previous profiler frame Select next profiler frame
Animation The animation window is opened and clip is selected Move playback head to the previous keyframe Move playback head to the next keyframe
Project File or folder selected Select previous file/folder Select next file/folder
Hierarchy By default Select previous hierarchy object Select next hierarchy object

Development

To create a new tool:

  1. Clone the repository into the Packages folder of your project
  2. Add the tool name locale to en.json
  3. Add the tool to tools.json
  4. Implement the ITool interface
  5. Add a tool field to the Tools.cs file and a condition for selecting it to the SelectTool() method

Contributing

Feel free to contribute fixes as well as your tools. To create a pull request for a tool you also need to create an icon according to Logitech guidelines. You can use my figma file

License

MIT License

About

Unity plugin for Logitech Craft keyboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published