Skip to content

Commit

Permalink
Updating version number to 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
dillbyrne committed Mar 31, 2018
1 parent 35f8fa1 commit 9ea7e25
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions es-cec-input.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"""
Name: es-cec-input.py
Version: 1.4
Version: 1.5
Description: cec remote control for emulation station in retropie
Author: dillbyrne
Homepage: https://github.com/dillbyrne/es-cec-input
Expand Down Expand Up @@ -118,7 +118,8 @@ def get_key_bindings(ra_cfg):
keys = []
with open(ra_cfg, 'r') as fp:
for line in fp:
if 'input_player1_' in line and '#' not in line and '_analog_dpad_mode' not in line:
if 'input_player1_' in line and '#' not in line and\
'_analog_dpad_mode' not in line:
keys.append(line.split('=')[1][2:-2])
return keys

Expand Down

0 comments on commit 9ea7e25

Please sign in to comment.