joystick with scroll wheel as buttons

I would like to make a throttle unit (joystick) with possibly 2 axis, around 10 buttons and a mice scroll wheel. I want the scroll wheel to act as an additional 2 buttons. Scrolling up should act as pressing one button and scrolling down as pressing the second button.

I know that there is a joystick library on github:

and I have seen arduino working with mice rotary encoder:

Can both be combined together to achieve joystick with wheel acting like buttons?

I recently got myself arduino pro micro and I would like to make a throttle for my sim, but I am totally new to arduino.

Can both be combined together to achieve joystick with wheel acting like buttons?

I don't see why not. Use the joystick library to get the joystick data and an encoder library for to get the encoder data. With a Mega you have lots of pins for switches and 6 external interrupts (1 or 2 needed for the encoder).