Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8318 from guillep/fix/events
Make Old events work as new ones in SDL2
- Loading branch information
Showing
29 changed files
with
661 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
Extension { #name : #KeyboardKey } | ||
|
||
{ #category : #'*Keymapping-KeyCombinations' } | ||
KeyboardKey >> alt [ | ||
|
||
^ KMModifier alt + self | ||
] | ||
|
||
{ #category : #'*Keymapping-KeyCombinations' } | ||
KeyboardKey >> asKeyCombination [ | ||
|
||
^ KMSingleKeyCombination new | ||
key: self; | ||
yourself | ||
] | ||
|
||
{ #category : #'*Keymapping-KeyCombinations' } | ||
KeyboardKey >> command [ | ||
|
||
^ KMModifier command + self | ||
] | ||
|
||
{ #category : #'*Keymapping-KeyCombinations' } | ||
KeyboardKey >> control [ | ||
|
||
^ KMModifier control + self | ||
] | ||
|
||
{ #category : #'*Keymapping-KeyCombinations' } | ||
KeyboardKey >> ctrl [ | ||
|
||
^ KMModifier ctrl + self | ||
] | ||
|
||
{ #category : #'*Keymapping-KeyCombinations' } | ||
KeyboardKey >> meta [ | ||
|
||
^ KMModifier meta + self | ||
] | ||
|
||
{ #category : #'*Keymapping-KeyCombinations' } | ||
KeyboardKey >> shift [ | ||
|
||
^ KMModifier shift + self | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.