Skip to content

Commit

Permalink
Merge pull request #22 from Zulko/fixes_issue_17_2.0.1_release
Browse files Browse the repository at this point in the history
Fixes issue 17
  • Loading branch information
spacether authored Dec 24, 2020
2 parents b66d933 + 92e274d commit cf2c7c4
Show file tree
Hide file tree
Showing 9 changed files with 186 additions and 169 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 2.0.1
- Fixes bug where audio files could not be loaded because mixer.init was not
allowing the data to be modified to suit the hardware needs
- 1, 2, and 4 channel wave files now supported
- Fixes bug where keyboard files were read as ascii instead of unicode
- Fixes bug where blocked audio device events were showing up in the queues

## 2.0.0
- Add qwerty keyboard layout and defaults to using it
- Adds images for the qwery and azerty keyboards, cyan is the anchor key
Expand Down
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ testpypi:
then \
echo "\nNot publishing"; exit 1; \
fi
make dist
python -m twine upload --repository testpypi dist/*

pypi:
Expand All @@ -31,5 +30,4 @@ pypi:
then \
echo "\nNot publishing"; exit 1; \
fi
make dist
twine upload dist/*
4 changes: 2 additions & 2 deletions pianoputer/make_kb_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import pygame as pg

kb_file = open("my_keyboard.kb", 'w')
kb_file = open("my_keyboard.kb", "w")

pg.init()
screen = pg.display.set_mode((200, 200))
Expand All @@ -15,7 +15,7 @@
else:
name = pg.key.name(event.key)
print("Last key pressed: %s" % name)
kb_file.write(name + '\n')
kb_file.write(name + "\n")

kb_file.close()
print("Done. you have a new keyboard configuration file: %s" % (kb_file.name))
Expand Down
Loading

0 comments on commit cf2c7c4

Please sign in to comment.