Skip to content

Commit cf2c7c4

Browse files
authored
Merge pull request #22 from Zulko/fixes_issue_17_2.0.1_release
Fixes issue 17
2 parents b66d933 + 92e274d commit cf2c7c4

File tree

9 files changed

+186
-169
lines changed

9 files changed

+186
-169
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 2.0.1
2+
- Fixes bug where audio files could not be loaded because mixer.init was not
3+
allowing the data to be modified to suit the hardware needs
4+
- 1, 2, and 4 channel wave files now supported
5+
- Fixes bug where keyboard files were read as ascii instead of unicode
6+
- Fixes bug where blocked audio device events were showing up in the queues
7+
18
## 2.0.0
29
- Add qwerty keyboard layout and defaults to using it
310
- Adds images for the qwery and azerty keyboards, cyan is the anchor key

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ testpypi:
2222
then \
2323
echo "\nNot publishing"; exit 1; \
2424
fi
25-
make dist
2625
python -m twine upload --repository testpypi dist/*
2726

2827
pypi:
@@ -31,5 +30,4 @@ pypi:
3130
then \
3231
echo "\nNot publishing"; exit 1; \
3332
fi
34-
make dist
3533
twine upload dist/*

pianoputer/make_kb_file.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import pygame as pg
44

5-
kb_file = open("my_keyboard.kb", 'w')
5+
kb_file = open("my_keyboard.kb", "w")
66

77
pg.init()
88
screen = pg.display.set_mode((200, 200))
@@ -15,7 +15,7 @@
1515
else:
1616
name = pg.key.name(event.key)
1717
print("Last key pressed: %s" % name)
18-
kb_file.write(name + '\n')
18+
kb_file.write(name + "\n")
1919

2020
kb_file.close()
2121
print("Done. you have a new keyboard configuration file: %s" % (kb_file.name))

0 commit comments

Comments
 (0)