Git Product home page Git Product logo

Comments (2)

rpaladin avatar rpaladin commented on May 24, 2024 1

If you're only annoyed with having to manually setup a different keymap for the viewport camera controls, Armory already supports AZERTY for viewport controls. 🙂 Go to your Blender Preferences and change the setting highlighted below for your Armory add-on.

image

Then for custom Haxe code (minus logic nodes), you can simply something like this:

#if arm_azerty
static inline var keyUp = "z";
static inline var keyDown = "s";
static inline var keyLeft = "q";
static inline var keyRight = "d";
static inline var keyStrafeUp = "e";
static inline var keyStrafeDown = "a";
#else
static inline var keyUp = "w";
static inline var keyDown = "s";
static inline var keyLeft = "a";
static inline var keyRight = "d";
static inline var keyStrafeUp = "e";
static inline var keyStrafeDown = "q";
#end

Reference: https://github.com/search?q=repo%3Aarmory3d%2Farmory+AZERTY&type=code
It would be relatively simply for someone with knowledge of coding to implement this same keymap redirect for global Haxe + logic nodes too: https://github.com/armory3d/iron/blob/main/Sources/iron/system/Input.hx
However, I'm not sure if that would be a wise idea..

from armory.

Armory-Community-Channel avatar Armory-Community-Channel commented on May 24, 2024

I was more thinking about exported game controls. Godot has the ability to use physical keys or letter keys so was wondering if a similar thing can be implemented in Armory.

from armory.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.