Skip to content

Commit 6684a3c

Browse files
authored
Merge pull request #1778 from pewpew-game/gamepad-shift
Add GamePadShift for handling shift-register-based buttons
2 parents 608bf50 + 2fa1bf4 commit 6684a3c

36 files changed

+1178
-740
lines changed

locale/ID.po

Lines changed: 35 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-04-12 13:44-0700\n"
11+
"POT-Creation-Date: 2019-04-13 11:50+0200\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -52,8 +52,8 @@ msgstr ""
5252
msgid "%q indices must be integers, not %s"
5353
msgstr ""
5454

55-
#: shared-bindings/bleio/CharacteristicBuffer.c
5655
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
56+
#: shared-bindings/bleio/CharacteristicBuffer.c
5757
#, fuzzy
5858
msgid "%q must be >= 1"
5959
msgstr "buffers harus mempunyai panjang yang sama"
@@ -62,20 +62,20 @@ msgstr "buffers harus mempunyai panjang yang sama"
6262
msgid "%q should be an int"
6363
msgstr ""
6464

65-
#: py/bc.c py/objnamedtuple.c
65+
#: py/objnamedtuple.c py/bc.c
6666
msgid "%q() takes %d positional arguments but %d were given"
6767
msgstr "%q() mengambil posisi argumen %d tapi %d yang diberikan"
6868

6969
#: py/argcheck.c
7070
msgid "'%q' argument required"
7171
msgstr "'%q' argumen dibutuhkan"
7272

73-
#: py/emitinlinethumb.c py/emitinlinextensa.c
73+
#: py/emitinlinextensa.c py/emitinlinethumb.c
7474
#, c-format
7575
msgid "'%s' expects a label"
7676
msgstr ""
7777

78-
#: py/emitinlinethumb.c py/emitinlinextensa.c
78+
#: py/emitinlinextensa.c py/emitinlinethumb.c
7979
#, c-format
8080
msgid "'%s' expects a register"
8181
msgstr "'%s' mengharapkan sebuah register"
@@ -95,7 +95,7 @@ msgstr "'%s' mengharapkan sebuah FPU register"
9595
msgid "'%s' expects an address of the form [a, b]"
9696
msgstr "'%s' mengharapkan sebuah alamat dengan bentuk [a, b]"
9797

98-
#: py/emitinlinethumb.c py/emitinlinextensa.c
98+
#: py/emitinlinextensa.c py/emitinlinethumb.c
9999
#, c-format
100100
msgid "'%s' expects an integer"
101101
msgstr "'%s' mengharapkan integer"
@@ -245,17 +245,17 @@ msgstr "Semua perangkat I2C sedang digunakan"
245245
msgid "All event channels in use"
246246
msgstr "Semua channel event sedang digunakan"
247247

248-
#: ports/atmel-samd/audio_dma.c ports/atmel-samd/common-hal/audiobusio/PDMIn.c
248+
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c ports/atmel-samd/audio_dma.c
249249
msgid "All sync event channels in use"
250250
msgstr "Semua channel event yang disinkronisasi sedang digunakan"
251251

252252
#: shared-bindings/pulseio/PWMOut.c
253253
msgid "All timers for this pin are in use"
254254
msgstr "Semua timer untuk pin ini sedang digunakan"
255255

256-
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
257256
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
258257
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
258+
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
259259
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
260260
#: shared-module/_pew/PewPew.c
261261
msgid "All timers in use"
@@ -522,18 +522,17 @@ msgstr "Channel EXTINT sedang digunakan"
522522
msgid "Error in regex"
523523
msgstr "Error pada regex"
524524

525-
#: shared-bindings/microcontroller/Pin.c
526-
#: shared-bindings/neopixel_write/__init__.c shared-bindings/pulseio/PulseOut.c
527-
#: shared-bindings/terminalio/Terminal.c
525+
#: shared-bindings/pulseio/PulseOut.c shared-bindings/neopixel_write/__init__.c
526+
#: shared-bindings/terminalio/Terminal.c shared-bindings/microcontroller/Pin.c
528527
msgid "Expected a %q"
529528
msgstr ""
530529

531530
#: shared-bindings/bleio/CharacteristicBuffer.c
532531
msgid "Expected a Characteristic"
533532
msgstr ""
534533

535-
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
536-
#: shared-bindings/bleio/Service.c
534+
#: shared-bindings/bleio/Descriptor.c shared-bindings/bleio/Service.c
535+
#: shared-bindings/bleio/Characteristic.c
537536
msgid "Expected a UUID"
538537
msgstr ""
539538

@@ -720,8 +719,8 @@ msgstr ""
720719
msgid "Frequency captured is above capability. Capture Paused."
721720
msgstr ""
722721

723-
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
724-
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
722+
#: shared-bindings/bitbangio/SPI.c shared-bindings/bitbangio/I2C.c
723+
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
725724
msgid "Function requires lock"
726725
msgstr ""
727726

@@ -827,11 +826,10 @@ msgstr "Pin untuk channel kiri tidak valid"
827826
msgid "Invalid pin for right channel"
828827
msgstr "Pin untuk channel kanan tidak valid"
829828

830-
#: ports/atmel-samd/common-hal/busio/I2C.c
831-
#: ports/atmel-samd/common-hal/busio/SPI.c
832-
#: ports/atmel-samd/common-hal/busio/UART.c
833829
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
834-
#: ports/nrf/common-hal/busio/I2C.c
830+
#: ports/atmel-samd/common-hal/busio/UART.c
831+
#: ports/atmel-samd/common-hal/busio/SPI.c
832+
#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
835833
msgid "Invalid pins"
836834
msgstr "Pin-pin tidak valid"
837835

@@ -1093,8 +1091,8 @@ msgstr "Serializer sedang digunakan"
10931091
msgid "Slice and value different lengths."
10941092
msgstr ""
10951093

1096-
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
1097-
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
1094+
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
1095+
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
10981096
msgid "Slices not supported"
10991097
msgstr ""
11001098

@@ -1347,7 +1345,8 @@ msgstr ""
13471345
msgid "argument has wrong type"
13481346
msgstr ""
13491347

1350-
#: py/argcheck.c
1348+
#: py/argcheck.c shared-bindings/gamepad/__init__.c
1349+
#: shared-bindings/gamepad/GamePad.c
13511350
msgid "argument num/types mismatch"
13521351
msgstr "argumen num/types tidak cocok"
13531352

@@ -1660,7 +1659,7 @@ msgstr ""
16601659
msgid "complex division by zero"
16611660
msgstr ""
16621661

1663-
#: py/objfloat.c py/parsenum.c
1662+
#: py/parsenum.c py/objfloat.c
16641663
msgid "complex values not supported"
16651664
msgstr ""
16661665

@@ -1701,7 +1700,7 @@ msgstr ""
17011700
msgid "dict update sequence has wrong length"
17021701
msgstr ""
17031702

1704-
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
1703+
#: py/runtime.c py/modmath.c py/objint_mpz.c py/objint_longlong.c py/objfloat.c
17051704
#: shared-bindings/math/__init__.c
17061705
msgid "division by zero"
17071706
msgstr ""
@@ -1710,7 +1709,7 @@ msgstr ""
17101709
msgid "empty"
17111710
msgstr ""
17121711

1713-
#: extmod/moduheapq.c extmod/modutimeq.c
1712+
#: extmod/modutimeq.c extmod/moduheapq.c
17141713
msgid "empty heap"
17151714
msgstr "heap kosong"
17161715

@@ -1743,10 +1742,6 @@ msgstr ""
17431742
msgid "expected ':' after format specifier"
17441743
msgstr ""
17451744

1746-
#: shared-bindings/gamepad/GamePad.c
1747-
msgid "expected a DigitalInOut"
1748-
msgstr ""
1749-
17501745
#: py/obj.c
17511746
msgid "expected tuple/list"
17521747
msgstr ""
@@ -1775,7 +1770,7 @@ msgstr "argumen keyword ekstra telah diberikan"
17751770
msgid "extra positional arguments given"
17761771
msgstr "argumen posisi ekstra telah diberikan"
17771772

1778-
#: shared-bindings/audioio/WaveFile.c shared-bindings/displayio/OnDiskBitmap.c
1773+
#: shared-bindings/displayio/OnDiskBitmap.c shared-bindings/audioio/WaveFile.c
17791774
msgid "file must be a file opened in byte mode"
17801775
msgstr ""
17811776

@@ -1816,7 +1811,7 @@ msgstr "fungsi tidak dapat mengambil argumen keyword"
18161811
msgid "function expected at most %d arguments, got %d"
18171812
msgstr "fungsi diharapkan setidaknya %d argumen, hanya mendapatkan %d"
18181813

1819-
#: py/bc.c py/objnamedtuple.c
1814+
#: py/objnamedtuple.c py/bc.c
18201815
msgid "function got multiple values for argument '%q'"
18211816
msgstr "fungsi mendapatkan nilai ganda untuk argumen '%q'"
18221817

@@ -1838,7 +1833,7 @@ msgstr "fungsi kehilangan argumen keyword '%q' yang dibutuhkan"
18381833
msgid "function missing required positional argument #%d"
18391834
msgstr "fungsi kehilangan argumen posisi #%d yang dibutuhkan"
18401835

1841-
#: py/argcheck.c py/bc.c py/objnamedtuple.c
1836+
#: py/argcheck.c py/objnamedtuple.c py/bc.c
18421837
#, c-format
18431838
msgid "function takes %d positional arguments but %d were given"
18441839
msgstr "fungsi mengambil posisi argumen %d tapi %d yang diberikan"
@@ -1985,7 +1980,7 @@ msgstr "argumen keyword belum diimplementasi - gunakan args normal"
19851980
msgid "keywords must be strings"
19861981
msgstr "keyword harus berupa string"
19871982

1988-
#: py/emitinlinethumb.c py/emitinlinextensa.c
1983+
#: py/emitinlinextensa.c py/emitinlinethumb.c
19891984
msgid "label '%q' not defined"
19901985
msgstr ""
19911986

@@ -2092,11 +2087,11 @@ msgstr ""
20922087
msgid "need more than %d values to unpack"
20932088
msgstr ""
20942089

2095-
#: py/objint_longlong.c py/objint_mpz.c py/runtime.c
2090+
#: py/runtime.c py/objint_mpz.c py/objint_longlong.c
20962091
msgid "negative power with no float support"
20972092
msgstr ""
20982093

2099-
#: py/objint_mpz.c py/runtime.c
2094+
#: py/runtime.c py/objint_mpz.c
21002095
msgid "negative shift count"
21012096
msgstr ""
21022097

@@ -2198,12 +2193,12 @@ msgstr ""
21982193
msgid "odd-length string"
21992194
msgstr "panjang data string memiliki keganjilan (odd-length)"
22002195

2201-
#: py/objstr.c py/objstrunicode.c
2196+
#: py/objstrunicode.c py/objstr.c
22022197
#, fuzzy
22032198
msgid "offset out of bounds"
22042199
msgstr "modul tidak ditemukan"
22052200

2206-
#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c
2201+
#: py/objarray.c py/objtuple.c py/objstrunicode.c py/objstr.c
22072202
#: shared-bindings/nvm/ByteArray.c
22082203
msgid "only slices with step=1 (aka None) are supported"
22092204
msgstr ""
@@ -2221,7 +2216,7 @@ msgstr ""
22212216
msgid "overflow converting long int to machine word"
22222217
msgstr ""
22232218

2224-
#: shared-bindings/_stage/Layer.c shared-bindings/_stage/Text.c
2219+
#: shared-bindings/_stage/Text.c shared-bindings/_stage/Layer.c
22252220
msgid "palette must be 32 bytes long"
22262221
msgstr ""
22272222

@@ -2353,7 +2348,7 @@ msgstr ""
23532348
msgid "slice step cannot be zero"
23542349
msgstr ""
23552350

2356-
#: py/objint.c py/sequence.c
2351+
#: py/sequence.c py/objint.c
23572352
msgid "small int overflow"
23582353
msgstr ""
23592354

@@ -2455,10 +2450,6 @@ msgstr "bits harus memilki nilai 8"
24552450
msgid "timestamp out of range for platform time_t"
24562451
msgstr ""
24572452

2458-
#: shared-bindings/gamepad/GamePad.c
2459-
msgid "too many arguments"
2460-
msgstr ""
2461-
24622453
#: shared-module/struct/__init__.c
24632454
msgid "too many arguments provided with the given format"
24642455
msgstr ""
@@ -2516,7 +2507,7 @@ msgstr ""
25162507
msgid "unexpected keyword argument"
25172508
msgstr "argumen keyword tidak diharapkan"
25182509

2519-
#: py/bc.c py/objnamedtuple.c
2510+
#: py/objnamedtuple.c py/bc.c
25202511
msgid "unexpected keyword argument '%q'"
25212512
msgstr "keyword argumen '%q' tidak diharapkan"
25222513

0 commit comments

Comments
 (0)