This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:orx:reference:io:main [2015/10/28 19:28 (10 years ago)] – ↷ Links adapted because of a move operation sausage | en:orx:reference:io:main [2018/01/19 02:58 (8 years ago)] (current) – Content moved. Deleted. sausage | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Input/ | ||
- | |||
- | ==== OrxFile ==== | ||
- | File / file system module. Module that handles file / file system access. | ||
- | |||
- | ==== OrxInput ==== | ||
- | Input module. Module that handles generalized inputs (keyboard, mouse, joystick, ...) | ||
- | |||
- | Input events may be defined either in the config file or in code with orxInput_Bind*() functions. They can be changed on the fly, of course, and you can create inputs than don't necessarily map to physical device by using the orxINPUT_TYPE_EXTERNAL value of the enum. | ||
- | |||
- | It allows to group everything through the generic input system. Events can be bound to whatever any input source: physical device, GUI " | ||
- | |||
- | orxInput_SetValue() sets the value for one frame. Any value works. It all depends on what you expect when you read it. If mapped to a physical peripheral, buttons will set the value to 1 and joystick axes will set it to X with -1 <= X <= 1. | ||
- | |||
- | orxInput_SetPermanentValue() sets the value till someone sets it to something different. | ||
- | |||
- | === Temporary Disabling User Input === | ||
- | |||
- | Just to make an input set that does nothing and toggle between it and the other ones as necessary. | ||
- | ==== OrxJoystick ==== | ||
- | Joystick plugin module. Plugin module that handles joystick-like peripherals. | ||
- | |||
- | ==== OrxKeyboard ==== | ||
- | Keyboard plugin module. Plugin module that handles keyboard peripherals. | ||
- | |||
- | ==== OrxMouse ==== | ||
- | Mouse plugin module. Plugin module that handles mouse-like peripherals. | ||
- | |||
- | ===== Config ===== | ||
- | * [[en: | ||
- | * [[en: | ||
- | * [[en: | ||
- | * [[en: | ||
- | * [[en: | ||
- | |||
- | ===== Tutorials ===== | ||
- | |||
- | * [[tutorials: | ||