# Add more inputs?

**URL:** <https://forum.makecode.com/t/add-more-inputs/3376>\
**Category:** Help\
**Created:** [September 7, 2020, 10:45am UTC](https://forum.makecode.com/t/add-more-inputs/3376 "2020-09-07T10:45:36Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![kwx](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kwx/32/1545_2.png) [@kwx](https://forum.makecode.com/u/kwx)\
**Post date:** [September 1, 2021, 10:23pm UTC](https://forum.makecode.com/t/add-more-inputs/3376/12 "2021-09-01T22:23:03Z")

</div>

If you need four control axes, I think using 2P controls on PC emulator and stick+accelerometer on hardware is worth exploring. It may not be a good fit for a twin-stick shooter though.

One warning - last I checked, reading accelerometer inputs activates an emulated mode that makes other inputs on the Android emulator difficult to use, so you may want to make that a configurable option.

Is there a supported way to feature detect an actual accelerometer to distinguish it from emulation? Based on [How can I access the name of my program? - #8 by mmoskal](https://forum.makecode.com/t/how-can-i-access-the-name-of-my-program/764/8), maybe along the lines of `control.getConfigValue(DAL.CFG_ACCELEROMETER_TYPE, 0)` ?

---

_[View the full topic](https://forum.makecode.com/t/add-more-inputs/3376)._
