armory3d / armory3d/armory

Armory doesn't detect controller input in C while it does with krom

Open
#1,803 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
3.3k
Forks
353
Avg merge
3d 16h
Merged PRs (30d)
1

Description

Thank you for contributing to Armory!

**Description**
When building my game project for krom, the controller input is working, when building in C though, the controller input of my xbox controller isn't detected. Keyboard input works for both.

**To Reproduce**
Build a projet using Windows(C) as the target, the left stick input of the controller isn't getting detected.

**Expected behavior**
The game should behave the same in both Krom and C

**System**
Blender: 2.83.4
Armory: Latest master branch
OS: Windows 10 64-bit
Graphics card: NVIDIA GTX 1060

**Test File**
-- The Krom and C builds
[krom-windows_2.zip](https://github.com/armory3d/armory/files/5071922/krom-windows_2.zip)
[windows-hl_2.zip](https://github.com/armory3d/armory/files/5071923/windows-hl_2.zip)

-- the project
[CodeStars_2.zip](https://github.com/armory3d/armory/files/5071930/CodeStars_2.zip)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with the linked CodeStars_2.zip project, comparing the krom-windows_2.zip and windows-hl_2.zip builds on Windows. Verify whether the Xbox controller's left-stick input is detected in the C build while keyboard input continues to work; done means controller behavior matches the Krom build.

Written by the indexing model from the issue text.

Assessment

Tech stack
blender, c
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.