mupen64plus / mupen64plus-core

Core module of the Mupen64Plus project
1.32k stars 258 forks source link

[RFC] Add API to filter inputs #1067

Open jgcodes2020 opened 7 months ago

jgcodes2020 commented 7 months ago

This is useful for emulators which implement input recording.

Proposed API:

typedef struct {
  void* cb_data;

  bool (*filter_input)(void* context, int control, BUTTONS* keys);
}