No, I suggested a correction for this:
Quote:
Originally Posted by trence
So I changed the event_map lua to reflect [4] = "RPgFwd".
|
Those BTN enums correspond to integers in linux input event lists. You mentioned that page turner works with tsowell's plugin and the shared the configuration file. That tells me that your device is issuing BTN_GAMEPAD, BTN_NORTH, BTN_EAST, BTN_WEST events.
Their integer equivalents are 304, 305, 307, 308. (You can literally change the words in the config file to these values and it will work.) For me the event is KEY_VOLUMEUP, so an example for me is as follows.
The following instructions are identical:
Code:
nextPage EV_KEY KEY_VOLUMEUP 0
nextPage EV_KEY 115 0
Anyway, coming back to this plugin, instead of
the following block would give you the identical button configuration with your nickel-based implementation, mapping all buttons to next page.
Code:
[304] = "RPgFwd",
[305] = "RPgFwd",
[307] = "RPgFwd",
[308] = "RPgFwd",