Bind mouse button to any action in PrBoom+ (Linux/Xorg)

I want to bind an arbitrary action to a mouse button.

 

Yet PrBoom+ only supports a handful of actions for the mouse:

  • mouseb_fire
  • mouseb_strafe
  • mouseb_forward
  • mouseb_backward
  • mouseb_use

 

You could bind your mouse to output a certain keyboard key that's bound to the action in Boom you want. For example there's Autohotkey for Windows users to accomplish this. But I'm running Ubuntu. I tried to handle this with xbindkeys but it only works in X not inside PrBoom+.

 

Maybe this can be done by editing the source code? Is it possible to bind just one action to one mouse button with minor changes to the sources? (This post gives me a little hope)

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now