Docs / Input binder

Glossary: InputSource

The values of InputSource.

The kinds of device an input can be on.

An enum, in the namespace BorrowedTorch.InputBinding.Types. The Source of an input, and part of its identity: mouse button 0 and pad button 0 are two inputs. The inputs page shows it in context.

Values

Keyboard →

A key. The only source whose buttons can carry a modifier.

Mouse →

A mouse button, wheel or movement.

GamePad →

A pad button, trigger or stick.

Midi →

A MIDI note, knob or slider.