Middle Mouse button?

If there is something important you think is missing in the current version of ZGameEditor then you can post a feature request here!

Moderator: Moderators

Post Reply
kattle87
Posts: 402
Joined: Wed Sep 26, 2007 9:06 am
Location: Italy

Middle Mouse button?

Post by kattle87 »

Would it be easy to add a "middle button" symbol (EG: | ) to be used toghether with the left click key "{" and the right click key "}"?
In the fall of 1972 President Nixon announced that the rate of increase of inflation was decreasing. This was the first time a sitting president used the third derivative to advance his case for reelection.
-=Hugo Rossi=-
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

Sure just add this in platform_win32.inc line 106:

Code: Select all

    WM_MBUTTONDOWN,WM_MBUTTONUP :
      //Use '|' as key for middle mouse button
      Keys[ Ord('|') ] := Msg=WM_MBUTTONDOWN;
I'll add it for next beta.
Post Reply