This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:tutorials:testing_input_controls [2018/08/27 15:17 (7 years ago)] – Note on core clocks sausage | en:tutorials:input:testing_input_controls [2022/12/06 13:39 (2 years ago)] (current) – iarwain | ||
---|---|---|---|
Line 5: | Line 5: | ||
Good also for keyboard testing to get the names of keypresses which you can use in your config files. | Good also for keyboard testing to get the names of keypresses which you can use in your config files. | ||
- | Start by creating a new [[en: | + | Start by creating a new [[en: |
Open the project. We don't need an '' | Open the project. We don't need an '' | ||
Line 16: | Line 16: | ||
<code c> | <code c> | ||
- | orxClock_Register(orxClock_FindFirst(-1.0f, orxCLOCK_TYPE_CORE), InputCheck, orxNULL, orxMODULE_ID_MAIN, | + | orxClock_Register(orxClock_Get(orxCLOCK_KZ_CORE), InputCheck, orxNULL, orxMODULE_ID_MAIN, |
</ | </ | ||
Line 54: | Line 54: | ||
[21:16:01] [LOG] Input: KEY_SPACE, Type: 0, ID: 71, Value 1.000000 | [21:16:01] [LOG] Input: KEY_SPACE, Type: 0, ID: 71, Value 1.000000 | ||
[21:16:01] [LOG] Input: KEY_SPACE, Type: 0, ID: 71, Value 1.000000 | [21:16:01] [LOG] Input: KEY_SPACE, Type: 0, ID: 71, Value 1.000000 | ||
- | [21:16:02] [LOG] Input: | + | [21:16:02] [LOG] Input: |
- | [21:16:02] [LOG] Input: | + | [21:16:02] [LOG] Input: |
[21:16:04] [LOG] Input: JOY_1_1, Type: 3, ID: 0, Value 1.000000 | [21:16:04] [LOG] Input: JOY_1_1, Type: 3, ID: 0, Value 1.000000 | ||
[21:16:05] [LOG] Input: JOY_1_1, Type: 3, ID: 0, Value 1.000000 | [21:16:05] [LOG] Input: JOY_1_1, Type: 3, ID: 0, Value 1.000000 | ||
- | [21:17:01] [LOG] Input: | + | [21:17:01] [LOG] Input: |
- | [21:17:01] [LOG] Input: | + | [21:17:01] [LOG] Input: |
[21:17:02] [LOG] Input: JOY_16_1, Type: 3, ID: 15, Value 1.000000 | [21:17:02] [LOG] Input: JOY_16_1, Type: 3, ID: 15, Value 1.000000 | ||
</ | </ |