Skip to content

Commit

Permalink
feat: add missing NumPad keys (#2468)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuMazzi authored Feb 13, 2025
1 parent f6861b3 commit c1d9acf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dearpygui/_dearpygui.pyi

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dearpygui/_dearpygui_RTD.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dearpygui/dearpygui.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/mvContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@ InsertConstants_mvContext(std::vector<std::pair<std::string, long>>& constants)
constants.emplace_back("mvKey_NumPad7", ImGuiKey_Keypad7);
constants.emplace_back("mvKey_NumPad8", ImGuiKey_Keypad8);
constants.emplace_back("mvKey_NumPad9", ImGuiKey_Keypad9);
constants.emplace_back("mvKey_NumPadEnter", ImGuiKey_KeypadEnter);
constants.emplace_back("mvKey_NumPadEqual", ImGuiKey_KeypadEqual);
constants.emplace_back("mvKey_Subtract", ImGuiKey_KeypadSubtract);
constants.emplace_back("mvKey_Decimal", ImGuiKey_KeypadDecimal);
constants.emplace_back("mvKey_Divide", ImGuiKey_KeypadDivide);
Expand Down

0 comments on commit c1d9acf

Please sign in to comment.