mirror of
https://github.com/mupen64plus/mupen64plus-ui-python.git
synced 2025-04-02 10:51:53 -04:00
define hats
This commit is contained in:
parent
8e2dcc0170
commit
1b6691cb7b
1 changed files with 5 additions and 1 deletions
|
@ -19,7 +19,11 @@ from PyQt4.QtCore import Qt, SIGNAL
|
|||
|
||||
from m64py.opts import SDL2
|
||||
from m64py.frontend.keymap import QT2SDL, QT2SDL2
|
||||
from m64py.SDL.constants import SDL_HAT_UP, SDL_HAT_RIGHT, SDL_HAT_DOWN, SDL_HAT_LEFT
|
||||
|
||||
SDL_HAT_UP = 0x01
|
||||
SDL_HAT_RIGHT = 0x02
|
||||
SDL_HAT_DOWN = 0x04
|
||||
SDL_HAT_LEFT = 0x08
|
||||
|
||||
class InputButton(QPushButton):
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue