Commit Graph

43 Commits

Author SHA1 Message Date
micsthepick
8f716b4b51 client compiles
In retrospect, it may have made sense to make an individual project for dsiwifi.
2022-11-04 22:40:09 +11:00
Derrick Wirth
1a41167a7d 1. Removed all WINKEY_ codes in source/windows/keyboardWindow.cpp\h and replaced with KEY::DSKEY_ codes located in common/key.h
2. Heavily changed configWindow, not finished
3. Some alterations to how enum_keys.cpp\h works
4. Added SINGLE_INPUT_SETTING udp packet
5. Some linux ifdef's
6. Probably others, this is old and should have been commited into a couple commits
2017-05-27 22:14:13 -04:00
Derrick Wirth
d01efcf1e1 Whitespace/typos 2017-03-13 01:21:26 -07:00
Derrick Wirth
c23afb8ef4 Changed some UDP stuff and emulator stuff 2017-03-12 18:43:04 -07:00
Derrick Wirth
e37f1aa4e1 Fixed some emulator debug stuff 2017-03-09 20:49:19 -08:00
Derrick Wirth
02a8cfbe3f Change for emulator 2017-03-06 15:16:59 -08:00
Derrick Wirth
270d7e1bd5 Whitespace changes and similar 2017-03-06 15:02:12 -08:00
Derrick Wirth
bbe769d966 Handle invalid values over 65535 2016-09-27 23:34:06 -07:00
Derrick Wirth
53d6a412e0 OCD: replaced c <*.h> headers with <c*> headers. left 1 <math.h>header in because NDS would not compile. 2016-09-13 20:48:22 -07:00
Derrick Wirth
408311f373 Fixed warning 2016-09-13 15:42:59 -07:00
Derrick Wirth
ba53592bc2 Small whitespace changes in nearly every file 2016-09-13 15:07:00 -07:00
Derrick Wirth
533f9d5e5f This was supposed to be part of ee3750a0f5 2016-09-13 13:51:01 -07:00
Derrick Wirth
ee3750a0f5 Changed some mislabeld non-global variables (removed g_). Added comments. Worked on whitespace. Added some const's where needed. 2016-09-12 00:58:23 -07:00
Derrick Wirth
51f5545dfa Syntax cleanup. More to follow later. 2016-09-04 18:28:20 -07:00
Derrick Wirth
fab6911a6b Removed unnecessary #ifdef code 2016-08-15 17:21:10 -07:00
Derrick Wirth
3411198868 Lots of logging added 2016-08-13 22:53:42 -07:00
Derrick Wirth
83299261a1 Cleaned up DS2KeyPacket.h. Removed unused (touch_keys) and (touch_keys_turbo) and unnecessary (ip_address) 2016-07-23 23:39:48 -07:00
Derrick Wirth
b1f17991aa Adjusted DS2KeyPacket type 2016-07-23 18:30:43 -07:00
Derrick Wirth
f8d8571add Should have done this in multiple commits.
Fixed VJoy device not being reset upon initialization.
Added a value check in SetAxisPercent.
Implemented volume & 3d Slider input.
Implemented Volume controls for axis/sliders.
Forced backlight to stay on depending on the current screen.
Syntax changes.
2016-07-23 15:53:08 -07:00
Derrick Wirth
30ca58683a Added c stick functions. Still nothing activated 2016-07-19 00:38:39 -07:00
Derrick Wirth
a3cce23e50 Added gyroscope, accelerometer, and circle pad functions, however nothing is activated yet. 2016-06-23 00:55:16 -07:00
Derrick Wirth
f44b176d84 Cosmetic changes dealing with 0's, nullptr's, and NULL_VALUE's. A couple variable 'type' changes. 2016-06-19 21:29:55 -07:00
Derrick Wirth
f3cf0b4b5b Added client-side configuration. Command buttons aren't configurable. No ability to set buttons to mouse clicks, or gamepad presses. 2016-05-23 00:49:30 -07:00
Derrick Wirth
adee2fe9f7 Added the error number to network errors. 2016-05-23 00:24:47 -07:00
Derrick Wirth
f942191e47 Syntax, ifdef changes. GetCommandSettings() SEND_SETTINGS_MAX changed from 3 to 60. 2016-05-22 21:05:10 -07:00
Derrick Wirth
4bbe42e87a Release inactive clients and discard their key presses. 2016-05-17 00:56:18 -07:00
Derrick Wirth
53ef3929a5 Merged guitargrip code into main keysHeld() code Tested on NDS and 3DS briefly 2016-05-12 21:08:10 -07:00
Derrick Wirth
f6d72c4de4 Whitespace, typos, missing semicolon. 2016-05-09 02:19:28 -07:00
Derrick Wirth
7f149a4378 3DS/NDS Porting cleanup concerning the main loop, Lid functions, VBlank. Fixed a hang on shutdown. Removed debugging logs from DS and PC. 2016-05-09 01:35:42 -07:00
Derrick Wirth
091c1f0d2b 1. 3DS gui is now exactly like DS gui, just scaled.
2. 3DS Lid and backlights function like DS
3. Fixed 3DS Find IP button.
4. Cleaned up main9.cpp.
5. Implemented 3DS UDP non-blocking.
6. Increased stylus data from uint8_t to uint16_t for the enlarged 3DS screen.
7. Removed outdated PPJoy and replaced with current VJoy.
2016-04-17 00:39:53 -07:00
Derrick Wirth
8c6ad9b635 Quick dirty port of DS UI to 3DS
Find IP Button does not work.
Screen is not scaled to full resolution.
Closing DS hangs.
Touch function does not send data to server.
2016-04-12 11:21:07 -07:00
Derrick Wirth
e67a67ac69 Initial 3DS support
UDP protocol changed to accommodate the extra buttons on a New 3DS.
No bells or whistles for the 3DS yet:
Extra buttons work, but no analog support for the cstick, touch screen
doesn't currently do anything. DS GUI is disabled on the 3DS for now.
Windows GUI is not updated, nor tested with 3DS.
2016-04-11 02:44:02 -07:00
Derrick Wirth
f563887edf Mostly cosmetic stuff
Added:
3ds #ifdefs
code comments.
also,
Config.cpp DEFAULT_IP = "192.168.1.255"

not much else
2016-04-07 22:30:37 -07:00
Derrick Wirth
fc260aaef6 Syntax Work Part 6 of 6
I'm done doing syntax work, I'll now fix anything I find in files that I
actually change. Also changed some char*'s into std::string's.
2016-02-10 10:48:58 -08:00
Derrick Wirth
2cde256418 Syntax Work Part 5
Mostly harmless changes. in config.cpp/h added the GetClient function to
clean up some code. Linux code altered and untested in input.cpp.
Elsewhere I merged some nested if's, hopefully no typos are anywhere,
have not tested thoroughly.
2016-02-09 14:12:03 -08:00
Derrick Wirth
08485817a9 More Syntax Work
Same stuff as last commit, compiled product should be the same
2016-01-27 19:25:18 -08:00
Derrick Wirth
22095c1417 Syntax Changes
Should be the exact same application when compiled, just cleaned up the
source code
2016-01-26 22:53:36 -08:00
sypherce@gmail.com
db1ced4a26 1. Push a old version since I last worked on project
2. Linux code untested
3. Some source code documention added
4. Couple descriptive variables added
5. Some PSP #ifdef code added
6. Emulator define changed to 0 to avoid some issues reported
7. Screen light toggle added, maybe not activated
2014-09-09 04:06:09 +00:00
sypherce@gmail.com
accf313a2a 1. Code structure. Changed namespaces, converted some classes to namespaces.
2. Implemented customized command button text and position. Windows gui displays data, but is unable to properly edit.
3. Altered DS drawing routines. Slightly safer methods.
2014-01-23 08:10:04 +00:00
sypherce@gmail.com
69324b2e53 1. Added strerror() command for more detailed error messages. 2014-01-20 09:09:52 +00:00
sypherce@gmail.com
d1fec306b1 1. Button presses are now processed while the "Command window" on DS is active.
2. Each "Command button", "physical button", or "guitar grip button" can now be assigned a "key", "joypad button", or execute an "application" or "system command".
3. GUI has been updated to show all settings, but can not setup "Joypad buttons" or "system commands" quite yet, must be done manually.
4. I have not tested linux recently, should work with minimal tweaks.
5. Fixed typo bug in PPJoy::ResetAxes.
2014-01-08 09:38:22 +00:00
sypherce@gmail.com
7762de430f 1. More comments
2. Replaced most printf, sprintf(stderr with cout and clog, removed unused log functions
3. Separated struct DS2KeyPacket into it's own header file
4. Removed memset where possible
5. Enabled guitar grip support
6. Increased ppjoy buttons up to 20
7. Codeblocks projects files should work but I wasn't able to verify
2013-12-09 08:56:23 +00:00
sypherce@gmail.com
bb0dc74e9f 1. Merged udp.cpp/h into common folder 2013-11-22 08:53:55 +00:00