Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[EO 2.0] Numeric Keypad for Hotbar


jcsnider
 Share

Recommended Posts

Title says it all. This quick source edit will allow for the numeric keypad to work for the hotbar as well as the number keys on top of a keyboard.

This was brought to my attention by Azyru so credit goes to him for me even making this quick edit.

@Azyru:

> Quick question have you made it so the number pad works with the hotbar? I find it annoying to use the hotbar in the heat of battle when having to reach for the top of the keyboard.

In the client source, search your entire project for:
```
            If KeyCode = 48 + i Then
                SendHotbarUse i
            End If
```
and replace it with…

```
            If KeyCode = 48 + i Then
                SendHotbarUse i
            ElseIf KeyCode = 96 + i Then
                SendHotbarUse i
            End If
```
That is all and the numeric pad then works for the hotbar.
(Number Lock must be on for the numeric keypad to work for the hotbar)
Link to comment
Share on other sites

  • 1 year later...

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
 Share

×
×
  • Create New...