-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
udev and SDL Sensor and Touchpad #16188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
5428652
606742b
7775239
ebe99ab
75b9de3
5fcea9b
0277283
5113a52
7dc3bdb
7d3fcc1
6fdfa1c
91613a4
ac21e7d
17a87f1
809d53f
1a30370
6c7f783
adcb02d
cafaeff
2ab1ef5
c218c60
9d9e388
cbb2b64
6a91a2c
aef3009
19f47d2
a4c6880
a0887a1
db24c1e
0da83e8
9e959cb
a1ebece
0a926bf
034a8aa
31bf40d
a34c408
eac2e22
585522d
191f9a1
09a6afa
835974e
e1942e4
ed0e7f4
fc6ad33
c553cd1
ec6dc65
ed36cb5
8b57051
e33b667
5563b32
1c9951d
9730936
6f72620
23d7b75
a65e2fc
7382561
20e3839
08e8341
0cac7a4
6a361e3
5ebc362
0f03f4e
a253cea
73da3df
e01f57f
b879025
121f7ea
fd000ff
b099b3c
153e702
3e45a63
77820e6
2becb46
b800a69
7133929
4699c3a
22dfac3
6ddddae
d2de297
9047cf5
65e035a
16ac146
bbd25b4
414c6eb
c8fbf0c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -165,6 +165,7 @@ typedef struct settings | |
| unsigned input_joypad_index[MAX_USERS]; | ||
| unsigned input_device[MAX_USERS]; | ||
| unsigned input_mouse_index[MAX_USERS]; | ||
| unsigned input_sensor_index[MAX_USERS]; | ||
|
|
||
| unsigned input_libretro_device[MAX_USERS]; | ||
| unsigned input_analog_dpad_mode[MAX_USERS]; | ||
|
|
@@ -173,6 +174,7 @@ typedef struct settings | |
| unsigned input_remap_ports[MAX_USERS]; | ||
| unsigned input_remap_ids[MAX_USERS][RARCH_CUSTOM_BIND_LIST_END]; | ||
| unsigned input_keymapper_ids[MAX_USERS][RARCH_CUSTOM_BIND_LIST_END]; | ||
| unsigned input_sensor_ids[MAX_USERS][RETROPAD_RETRO_SENSOR_LAST]; | ||
| unsigned input_remap_port_map[MAX_USERS][MAX_USERS + 1]; | ||
|
|
||
| unsigned led_map[MAX_LEDS]; | ||
|
|
@@ -1424,6 +1426,12 @@ void input_config_parse_mouse_button( | |
| void *conf_data, const char *prefix, | ||
| const char *btn, void *bind_data); | ||
|
|
||
| /* Parse Accelerometer and Gyroscope Bindings | ||
| * from the controller configuration file */ | ||
| unsigned input_config_parse_sensor( | ||
| unsigned id, | ||
| char *s, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you make this parameter
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It shouldn't be const it uses
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh you're right. But all other functions such as |
||
| void *conf_data); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there a reason this parameter is a
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's necessary for the API.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are you sure? I'm searching for uses of it but I don't see any that would need it.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. IDK all other functions that take a
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fair enough. |
||
| const char *input_config_get_prefix(unsigned user, bool meta); | ||
|
|
||
| RETRO_END_DECLS | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.